summaryrefslogblamecommitdiff
path: root/user/s6-portable-utils/APKBUILD
blob: 8b6d3a85d6d95f32c9e100574b87ed8b88c3c59c (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                      
              





                                                        
                       
          




                                                                                


                                     

                                    



            


                                      
       



                                                                 

 
                                                                                                                                                                               
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=s6-portable-utils
pkgver=2.3.0.0
pkgrel=0
pkgdesc="skarnet.org's portable miscellaneous utilities"
url="https://skarnet.org/software/s6-portable-utils/"
arch="all"
options="!check"
license="ISC"
_skalibs_version=2.13.1
depends=""
makedepends="skalibs-dev>=$_skalibs_version skalibs-libs-dev>=$_skalibs_version"
subpackages="$pkgname-doc"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--disable-allstatic \
		--prefix=/usr \
		--with-dynlib=/lib \
		--enable-multicall
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

doc() {
	pkgdesc="$pkgdesc (documentation)"
	install_if="docs $pkgname=$pkgver-r$pkgrel"
	mkdir -p "$subpkgdir/usr/share/doc"
	cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
}

sha512sums="1ef0b937e2f698fb1b98440a84be0310e9be44763969ca812744ebc0a91fe75c50d5082067b6bb07c1acd9df1540f71b6d20254b97e4851bb28937815073298c  s6-portable-utils-2.3.0.0.tar.gz"