| 1 | # Maintainer: Laurent Bercot <[email protected]> |
| 2 | pkgname=s6-portable-utils |
| 3 | pkgver=2.3.1.2 |
| 4 | pkgrel=1 |
| 5 | pkgdesc="skarnet.org's tiny portable generic utilities" |
| 6 | url=https://skarnet.org/software/s6-portable-utils/ |
| 7 | arch="all" |
| 8 | license="ISC" |
| 9 | makedepends="skalibs-dev" |
| 10 | options="!check" |
| 11 | subpackages="$pkgname-doc" |
| 12 | source="https://skarnet.org/software/s6-portable-utils/s6-portable-utils-$pkgver.tar.gz" |
| 13 | |
| 14 | build() { |
| 15 | ./configure \ |
| 16 | --prefix=/usr \ |
| 17 | --sysconfdir=/etc \ |
| 18 | --libexecdir="/usr/libexec/$pkgname" \ |
| 19 | --enable-shared \ |
| 20 | --disable-allstatic \ |
| 21 | --with-pkgconfig \ |
| 22 | --enable-multicall |
| 23 | make |
| 24 | } |
| 25 | |
| 26 | package() { |
| 27 | make DESTDIR="$pkgdir" install |
| 28 | rm "$pkgdir/usr/include/s6-portable-utils/config.h" |
| 29 | rmdir -p "$pkgdir/usr/include/s6-portable-utils" || : |
| 30 | |
| 31 | mkdir -p "$pkgdir/usr/share/doc" |
| 32 | cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname" |
| 33 | } |
| 34 | |
| 35 | sha512sums=" |
| 36 | d26582cfad2ccf7f34f3f569b575bb367edf1aec60b6c802408418567f218d8ae434910e4e58e4c5a44c4c585ca56a5e6123b019f2fc96d288e50dcc26d61dce s6-portable-utils-2.3.1.2.tar.gz |
| 37 | " |