aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-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"