summaryrefslogtreecommitdiff
path: root/system/util-linux/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-08 05:41:13 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-08 05:41:13 +0000
commit997dca9bbd189d64d1a8560d0377377d4f163927 (patch)
tree4f1a68adb68aee4b2d770ae029dc5544387a0252 /system/util-linux/APKBUILD
parentbf92babc5854ca93089cf4a2d428b9a4a1edb476 (diff)
downloadpackages-997dca9bbd189d64d1a8560d0377377d4f163927.tar.gz
packages-997dca9bbd189d64d1a8560d0377377d4f163927.tar.bz2
packages-997dca9bbd189d64d1a8560d0377377d4f163927.tar.xz
packages-997dca9bbd189d64d1a8560d0377377d4f163927.zip
system/util-linux: bump to 2.33.1, modernise
Diffstat (limited to 'system/util-linux/APKBUILD')
-rw-r--r--system/util-linux/APKBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/system/util-linux/APKBUILD b/system/util-linux/APKBUILD
index 7b629fb0e..f2a1e4a85 100644
--- a/system/util-linux/APKBUILD
+++ b/system/util-linux/APKBUILD
@@ -2,14 +2,14 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=util-linux
-pkgver=2.32.1
+pkgver=2.33.1
case $pkgver in
*.*.*) _v=${pkgver%.*};;
*.*) _v=$pkgver;;
esac
-pkgrel=1
+pkgrel=0
pkgdesc="Official Linux system management utilities"
url="https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
arch="all"
@@ -30,19 +30,15 @@ source="https://www.kernel.org/pub/linux/utils/$pkgname/v${_v}/$pkgname-$pkgver.
ttydefaults.h
"
-builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
cp "$srcdir"/ttydefaults.h include/
libtoolize --force && aclocal -I m4 && autoconf \
&& automake --add-missing
}
build() {
- cd "$builddir"
-
# login utils are provided by shadow
LIBS="-lutmps -lskarnet" ./configure \
--build=$CBUILD \
@@ -61,9 +57,7 @@ build() {
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
- # use pkg-config
}
dev() {
@@ -105,5 +99,5 @@ libfdisk() {
mv "$pkgdir"/lib/libfdisk.so.* "$subpkgdir"/lib/
}
-sha512sums="267fedae24a874ee4dc558081f6b8d07b33b955b0635f3348f021c111c17f2e95c01b2cbf909fe13c6ca448cbcf23c658c75f72f25749aa65e99f68fabb94698 util-linux-2.32.1.tar.xz
+sha512sums="94ada47e472b62a612c26fd5a5b7423e09366690a8a96f777191a5d920981eb0f224474bc2f128e827299bf60062770011332757e1551a8cd3764b5c70ae4ba2 util-linux-2.33.1.tar.xz
876bb9041eca1b2cca1e9aac898f282db576f7860aba690a95c0ac629d7c5b2cdeccba504dda87ff55c2a10b67165985ce16ca41a0694a267507e1e0cafd46d9 ttydefaults.h"