aboutsummaryrefslogtreecommitdiffstats
path: root/main/util-linux
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-23 07:12:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-23 07:12:32 +0000
commit6721d09700d85e17dcaf03d9bb5b4cc9b4bd2020 (patch)
tree21adb2d0fdc5fcc98a162812a633f3641c72a55b /main/util-linux
parent650126d4761a8cc8b389f10f196bf2bf45fac151 (diff)
downloadaports-6721d09700d85e17dcaf03d9bb5b4cc9b4bd2020.tar.bz2
aports-6721d09700d85e17dcaf03d9bb5b4cc9b4bd2020.tar.xz
main/util-linux: upgrade to 2.21.1
Diffstat (limited to 'main/util-linux')
-rw-r--r--main/util-linux/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/main/util-linux/APKBUILD b/main/util-linux/APKBUILD
index 99f3e361c2..5e73cc795c 100644
--- a/main/util-linux/APKBUILD
+++ b/main/util-linux/APKBUILD
@@ -1,7 +1,13 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=util-linux
-pkgver=2.21
+pkgver=2.21.1
+
+case $pkgver in
+ *.*.*) _v=${pkgver%.*};;
+ *.*) _v=$pkgver;;
+esac
+
pkgrel=0
pkgdesc="Random collection of Linux utilities"
url="http://kernel.org/~kzak/util-linux/"
@@ -11,7 +17,7 @@ depends=
# use GNU sed til bb sed is fixed. Also GNU tar is needed
makedepends="zlib-dev sed ncurses-dev tar"
install=
-source="http://www.kernel.org/pub/linux/utils/util-linux/v${pkgver}/util-linux-$pkgver.tar.gz
+source="http://www.kernel.org/pub/linux/utils/util-linux/v${_v}/util-linux-$pkgver.tar.xz
program-invocation.patch
fix_NL_TIME_FIRST_WEEKDAY.patch
"
@@ -104,6 +110,6 @@ mcookie() {
mv "$pkgdir"/usr/bin/mcookie "$subpkgdir"/usr/bin/
}
-md5sums="4222aa8c2a1b78889e959a4722f1881a util-linux-2.21.tar.gz
+md5sums="ad602dcd528f340b1329cfa6200d8f80 util-linux-2.21.1.tar.xz
9682a6ddd5abe65434a145ebe512c123 program-invocation.patch
8c434a785bfaed23d8f222c14d883a82 fix_NL_TIME_FIRST_WEEKDAY.patch"