31 lines
651 B
Text
31 lines
651 B
Text
|
# 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"
|
||
|
url="https://github.com/void-linux/musl-fts/"
|
||
|
arch=(any)
|
||
|
license=(BSD-3-Clause)
|
||
|
source=(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/
|
||
|
}
|