aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>2020-05-17 18:21:58 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-05-17 19:25:59 +0000
commitfd45475769767e38515bdc6c0a1f38801d95bccf (patch)
treef32c3568c4da4c4e4dc16e9a981ecf4c78d35b12
parent59b27fe9e801f4f6624e0ce94b11af87d5d6bf4d (diff)
downloadaports-fd45475769767e38515bdc6c0a1f38801d95bccf.tar.gz
aports-fd45475769767e38515bdc6c0a1f38801d95bccf.tar.bz2
aports-fd45475769767e38515bdc6c0a1f38801d95bccf.tar.xz
main/util-linux: split lsblk from util-linux
-rw-r--r--main/util-linux/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/util-linux/APKBUILD b/main/util-linux/APKBUILD
index deda09fb86..38662e570a 100644
--- a/main/util-linux/APKBUILD
+++ b/main/util-linux/APKBUILD
@@ -9,12 +9,12 @@ case $pkgver in
*.*) _v=$pkgver;;
esac
-pkgrel=2
+pkgrel=3
pkgdesc="Random collection of Linux utilities"
url="https://git.kernel.org/cgit/utils/util-linux/util-linux.git"
arch="all"
license="GPL-2.0 GPL-2.0-or-later LGPL-2.0-or-later BSD Public-Domain"
-depends="findmnt"
+depends="findmnt lsblk"
makedepends_build="autoconf automake libtool"
makedepends_host="zlib-dev ncurses-dev linux-headers libcap-ng-dev"
options="suid"
@@ -23,7 +23,7 @@ source="https://www.kernel.org/pub/linux/utils/util-linux/v$_v/util-linux-$pkgve
"
subpackages="$pkgname-doc $pkgname-dev $pkgname-bash-completion:bashcomp:noarch
libuuid libblkid libmount libsmartcols libfdisk sfdisk cfdisk
- findmnt:_findmnt mcookie blkid setpriv hexdump"
+ findmnt:_findmnt mcookie blkid setpriv hexdump lsblk"
if [ -z "$BOOTSTRAP" ]; then
makedepends_host="$makedepends_host python3-dev"
subpackages="$subpackages py3-libmount:_py3"
@@ -175,5 +175,12 @@ hexdump() {
mv "$pkgdir"/usr/bin/hexdump "$subpkgdir"/usr/bin
}
+lsblk() {
+ pkgdesc="lslbk from util-linux"
+ depends=""
+ mkdir -p "$subpkgdir"/bin
+ mv "$pkgdir"/bin/lsblk "$subpkgdir"/bin
+}
+
sha512sums="6e27e08bfc02378970f015decfea5a52d6c342c4c8f4ac48dd07d248485eb797e506d91d290dbbca344c3e5cfe1fc150db80a23d510367427232f5abeabe591a util-linux-2.35.1.tar.xz
876bb9041eca1b2cca1e9aac898f282db576f7860aba690a95c0ac629d7c5b2cdeccba504dda87ff55c2a10b67165985ce16ca41a0694a267507e1e0cafd46d9 ttydefaults.h"