diff options
Diffstat (limited to 'testing/moreutils/APKBUILD')
-rw-r--r-- | testing/moreutils/APKBUILD | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/testing/moreutils/APKBUILD b/testing/moreutils/APKBUILD index 751bde6433..dbc66b43d1 100644 --- a/testing/moreutils/APKBUILD +++ b/testing/moreutils/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=moreutils -pkgver=0.58 +pkgver=0.59 pkgrel=0 pkgdesc="A growing collection of the unix tools that nobody thought to write thirty years ago" url="http://joeyh.name/code/moreutils/" @@ -15,24 +15,15 @@ subpackages="$pkgname-doc" source="http://ftp.de.debian.org/debian/pool/main/m/moreutils/moreutils_$pkgver.orig.tar.gz docbook-xsl.patch" -_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.orig build() { - cd "$_builddir" + cd "$builddir" make } package() { - cd "$_builddir" + cd "$builddir" make PREFIX=$pkgdir/usr install chmod 0644 $pkgdir/usr/share/man/man1/* mv $pkgdir/usr/share/man/man1/ts.1 $pkgdir/usr/share/man/man1/ts.1moreutils @@ -40,9 +31,9 @@ package() { mv $pkgdir/usr/bin/parallel $pkgdir/usr/bin/parallel-moreutils } -md5sums="7dd0c1d06d723c1b402ff746be367623 moreutils_0.58.orig.tar.gz -f9bc7598ed6fc8f3395712ea94fd6144 docbook-xsl.patch" -sha256sums="9c4bba745518f1cc4d5594b1276793bd4f737fedb2e5b14beeab4b73f106c00a moreutils_0.58.orig.tar.gz -effb1f92995871cc87d1405e84fb438ca2b7e8f58630cc692aa7b6442b0b22cd docbook-xsl.patch" -sha512sums="4bbb250d34b33a295e35cb4c282843ecf608ce61b428f8aa145a39dd6433a7b5b22619fe078df48be8d7f54f11aabcbf3094dc0e1c7fcd80c136e4be63282c64 moreutils_0.58.orig.tar.gz -800217abc409e7304e39cef77a3d62eab921c924678ef5619e87a06d719af9bed85e3223dee305b42d28827201d4f970444c68a4eef6584ea22e39211a727942 docbook-xsl.patch" +md5sums="22b26cebe53afae604f74f4135628217 moreutils_0.59.orig.tar.gz +a8900e4699ffefb5393a954c6de0fe49 docbook-xsl.patch" +sha256sums="a48e11c3197bf79a7bfaa121423e64626e3381d9fedc91d606e9724ae498d1b4 moreutils_0.59.orig.tar.gz +7c83aaf6edf29cddb0c7eb1d57d5abf1999eee2dd21cd5279d8d68869d4a5b2e docbook-xsl.patch" +sha512sums="2cbe56a04476f5266bcb265c2c328ad61e2200eb1617ab632f1dcbefd08e0228652c82092cda7e12a539300cebf4550f766561f95de386ca4b3c2a491120f3ed moreutils_0.59.orig.tar.gz +3f8a85ff9445bab82db40cd8a210ea69597ec72bf263ce165cfe8da5bf15b2283cb1e840e86e0a710b4f6191616abad40e79ca0d2eb7029a4b7c1afcd3d91783 docbook-xsl.patch" |