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