# Maintainer: Laurent Bercot # Contributor: John Regan setvar pkgname = 's6-portable-utils' setvar pkgver = '2.2.1.1' setvar pkgrel = '0' setvar pkgdesc = ""skarnet.org's tiny portable generic utilities"" setvar url = ""http://skarnet.org/software/$pkgname/"" setvar arch = ""all"" setvar license = ""ISC"" setvar makedepends = ""skalibs-dev"" setvar options = ""!check"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"" setvar builddir = ""$srcdir/$pkgname-$pkgver"" proc build { cd $builddir ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ --libdir=/usr/lib make } proc package { cd $builddir make DESTDIR="$pkgdir" install } proc doc { default_doc mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } setvar sha512sums = ""fba7a4d1f5e0c969dc254775f28c02f1b8673ead28022962175bd605125dc56012cfdeb177037c322780be93a5191a5292a47cb26cf5d466bb5eb081fa5a9657 s6-portable-utils-2.2.1.1.tar.gz""