projects/aports·blob master · refs

37 lines · 1021 B

1# Maintainer: Laurent Bercot <[email protected]>
2pkgname=s6-portable-utils
3pkgver=2.3.1.2
4pkgrel=1
5pkgdesc="skarnet.org's tiny portable generic utilities"
6url=https://skarnet.org/software/s6-portable-utils/
7arch="all"
8license="ISC"
9makedepends="skalibs-dev"
10options="!check"
11subpackages="$pkgname-doc"
12source="https://skarnet.org/software/s6-portable-utils/s6-portable-utils-$pkgver.tar.gz"
13
14build() {
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
26package() {
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
35sha512sums="
36d26582cfad2ccf7f34f3f569b575bb367edf1aec60b6c802408418567f218d8ae434910e4e58e4c5a44c4c585ca56a5e6123b019f2fc96d288e50dcc26d61dce s6-portable-utils-2.3.1.2.tar.gz
37"