pkgs/musl-fts/PKGBUILD
2023-12-08 21:44:38 -08:00

30 lines
681 B
Bash

# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=musl-fts
pkgver=1.2.7
pkgrel=1
pkgdesc="Provides the fts(3) functions, which are missing in musl libc"
arch=("x86_64")
url="https://github.com/void-linux/musl-fts/"
license=("BSD-3-Clause")
source=("$pkgname-$pkgver.tar.gz::https://github.com/void-linux/musl-fts/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=("49ae567a96dbab22823d045ffebe0d6b14b9b799925e9ca9274d47d26ff482a6")
prepare() {
cd $pkgname-$pkgver
./bootstrap.sh
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
install -Dm644 musl-fts.pc -t $pkgdir/usr/lib/pkgconfig/
}