aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-04-12 16:59:56 +0000
committerTimo Teräs <timo.teras@iki.fi>2018-04-13 05:55:03 +0000
commita74372b2a9c8e4d441c0af10448e986ac134c634 (patch)
treef49b5af375512f0d16f09204226a860c952d2788 /main
parent34dd89cb293afc3fd76357ce1f990c5535c5395a (diff)
downloadaports-a74372b2a9c8e4d441c0af10448e986ac134c634.tar.bz2
aports-a74372b2a9c8e4d441c0af10448e986ac134c634.tar.xz
main/btrfs-progs: clarify license, improve abuild
Diffstat (limited to 'main')
-rw-r--r--main/btrfs-progs/APKBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/main/btrfs-progs/APKBUILD b/main/btrfs-progs/APKBUILD
index def9af3dbe..3e9f82518e 100644
--- a/main/btrfs-progs/APKBUILD
+++ b/main/btrfs-progs/APKBUILD
@@ -7,14 +7,12 @@ pkgrel=1
pkgdesc="BTRFS filesystem utilities"
url="https://btrfs.wiki.kernel.org"
arch="all"
-license="GPL-2.0-or-later"
+license="GPL-2.0-or-later LGPL-3.0-or-later"
depends=""
depends_dev="linux-headers"
-makedepends="util-linux-dev bash attr-dev acl-dev e2fsprogs-dev zlib-dev
- lzo-dev asciidoc xmlto $depends_dev
- autoconf automake libtool
- python3-dev py3-setuptools"
-subpackages="$pkgname-doc $pkgname-dev $pkgname-bash-completion:completion:noarch
+makedepends="$depends_dev acl-dev asciidoc attr-dev autoconf automake bash e2fsprogs-dev
+ libtool lzo-dev py3-setuptools python3-dev util-linux-dev xmlto zlib-dev"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-bash-completion:bashcomp:noarch
py-$pkgname:py $pkgname-libs $pkgname-extra"
source="https://www.kernel.org/pub/linux/kernel/people/kdave/$pkgname/$pkgname-v$pkgver.tar.xz
includes.patch
@@ -24,8 +22,6 @@ builddir="$srcdir/$pkgname-v$pkgver"
prepare() {
default_prepare
-
- cd "$builddir"
./autogen.sh
}
@@ -54,11 +50,11 @@ package() {
mv "$pkgdir"/usr/bin "$pkgdir"/usr/sbin
}
-completion() {
+bashcomp() {
pkgdesc="Bash completion script for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
- install -Dm644 "$builddir"/btrfs-completion \
+ install -D -m644 "$builddir"/btrfs-completion \
"$subpkgdir"/usr/share/bash-completion/completions/btrfs
}