2023-12-05 04:47:04 +00:00
|
|
|
# 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"
|
2023-12-08 02:05:38 +00:00
|
|
|
arch=("any")
|
2023-12-05 04:47:04 +00:00
|
|
|
url="https://github.com/void-linux/musl-fts/"
|
2023-12-08 02:05:38 +00:00
|
|
|
license=("BSD-3-Clause")
|
|
|
|
source=("https://github.com/void-linux/musl-fts/archive/refs/tags/v$pkgver.tar.gz")
|
|
|
|
sha256sums=("49ae567a96dbab22823d045ffebe0d6b14b9b799925e9ca9274d47d26ff482a6")
|
2023-12-05 04:47:04 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./bootstrap.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
2023-12-08 02:05:38 +00:00
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
install -Dm644 musl-fts.pc -t $pkgdir/usr/lib/pkgconfig/
|
2023-12-05 04:47:04 +00:00
|
|
|
}
|