aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2021-05-10 20:00:43 +0300
committerSören Tempel <soeren+git@soeren-tempel.net>2021-05-10 21:20:54 +0200
commit9038ed47e226b90e5f0b1cea10fc838cd05c301b (patch)
tree80b4c053e4304b0b808ec89cdc69a9de020f19e1
parent761fc829a1328a60545790cf9bd396cb54f77c2a (diff)
downloadaports-9038ed47e226b90e5f0b1cea10fc838cd05c301b.tar.gz
aports-9038ed47e226b90e5f0b1cea10fc838cd05c301b.tar.bz2
aports-9038ed47e226b90e5f0b1cea10fc838cd05c301b.tar.xz
main/btrfs-progs: upgrade to 5.12
- Remove custom bash-completions function.
-rw-r--r--main/btrfs-progs/APKBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/main/btrfs-progs/APKBUILD b/main/btrfs-progs/APKBUILD
index 8802f818a6..159c4d78ed 100644
--- a/main/btrfs-progs/APKBUILD
+++ b/main/btrfs-progs/APKBUILD
@@ -2,8 +2,8 @@
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=btrfs-progs
-pkgver=5.11.1
-pkgrel=1
+pkgver=5.12
+pkgrel=0
pkgdesc="BTRFS filesystem utilities"
url="https://btrfs.wiki.kernel.org"
arch="all"
@@ -13,7 +13,7 @@ makedepends="$depends_dev acl-dev asciidoc attr-dev autoconf automake
e2fsprogs-dev libtool lzo-dev py3-setuptools python3-dev util-linux-dev
xmlto zlib-dev zstd-dev"
subpackages="$pkgname-doc $pkgname-static $pkgname-dev
- $pkgname-bash-completion:bashcomp:noarch
+ $pkgname-bash-completion
py3-$pkgname:py3 $pkgname-libs $pkgname-extra"
source="https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v$pkgver.tar.xz"
builddir="$srcdir/$pkgname-v$pkgver"
@@ -47,14 +47,9 @@ package() {
mv "$pkgdir"/usr/bin/$i "$pkgdir"/sbin/
done
mv "$pkgdir"/usr/bin "$pkgdir"/usr/sbin
-}
-
-bashcomp() {
- pkgdesc="Bash completion script for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
- install -D -m644 "$builddir"/btrfs-completion \
- "$subpkgdir"/usr/share/bash-completion/completions/btrfs
+ install -Dm644 btrfs-completion \
+ "$pkgdir"/usr/share/bash-completion/completions/btrfs
}
py3() {
@@ -75,4 +70,6 @@ extra() {
rmdir "$subpkgdir"/usr/lib
}
-sha512sums="f93a54bd2256851a74fc8e52b26f697bd7bf788cb2481512c92ebf1b9a2f2968b62d680f9f000d6162bd6f22b5d632b2149a88adad8c489e1332f810b439da90 btrfs-progs-v5.11.1.tar.xz"
+sha512sums="
+af9ab8bf232e0c62cc093d848b95991924cc3a84020fb9c85765a63a1cc132403e784bf18f81b71b2af9daa0038a7b11e578ee7b50d90481a888f7a967a5b197 btrfs-progs-v5.12.tar.xz
+"