diff options
author | Ivan Tham <pickfire@riseup.net> | 2017-03-28 17:29:07 +0800 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-04-27 05:37:03 +0000 |
commit | 1fe12eaaf4c7e96e0132a2d58de15842e9eac5e8 (patch) | |
tree | fc92f6c1d49331afdcd50634b86aa3d718946f42 /main/s6-linux-utils | |
parent | d070dc7d43616a4d9308522153e1986a6ecb70a7 (diff) | |
download | aports-1fe12eaaf4c7e96e0132a2d58de15842e9eac5e8.tar.bz2 aports-1fe12eaaf4c7e96e0132a2d58de15842e9eac5e8.tar.xz |
main/s6-linux-utils: upgrade to 2.3.0.0
Diffstat (limited to 'main/s6-linux-utils')
-rw-r--r-- | main/s6-linux-utils/APKBUILD | 36 |
1 files changed, 11 insertions, 25 deletions
diff --git a/main/s6-linux-utils/APKBUILD b/main/s6-linux-utils/APKBUILD index 14111c1609..7a9b0de889 100644 --- a/main/s6-linux-utils/APKBUILD +++ b/main/s6-linux-utils/APKBUILD @@ -1,52 +1,38 @@ # Maintainer: Laurent Bercot <ska-devel@skarnet.org> # Contributor: Christian Kampka <christian@kampka.net> pkgname=s6-linux-utils -pkgver=2.2.0.0 -pkgrel=1 +pkgver=2.3.0.0 +pkgrel=0 pkgdesc="A set of tiny Linux-specific utilities optimized for simplicity and small size." url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" -depends="skalibs" +options="!check" makedepends="skalibs-dev linux-headers" -install="" subpackages="$pkgname-doc" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ - --libdir=/usr/lib \ - || return 1 - make || return 1 + --libdir=/usr/lib + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } doc() { default_doc mkdir -p "$subpkgdir/usr/share/doc" - cp -a "$_builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" + cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } -md5sums="70b09e0d1b498cf647eea491a1969033 s6-linux-utils-2.2.0.0.tar.gz" -sha256sums="587745abfbf2cc631bb54dd2b3fd29f39b723e3c50e28165138a85c98fda35f9 s6-linux-utils-2.2.0.0.tar.gz" -sha512sums="5d0fcd29f7a03146b5296d7164326f76af95a8632df4204021d9ae30b1f03590e7f25d410f07639cf741a455f9624f9410b2e7836ae6838916da50be1527ae7f s6-linux-utils-2.2.0.0.tar.gz" +sha512sums="09e5744f6ac35d33c9c61ffc0ae6c8697e5d1816e5bd83e2dd4385d54a8f6da9c43fe2b1cb1cacba6f30a53cd7d9487a12b44028b20b110c74d6c3016d0511a1 s6-linux-utils-2.3.0.0.tar.gz" |