aboutsummaryrefslogtreecommitdiffstats
path: root/community/falkon
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-13 03:58:38 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-13 03:58:38 -0300
commite6ca18a4e20c65c260320b4f23e6de39cc5cdf8f (patch)
treecbd3490637b2e13d5696e1611d3a9d8b2247e4a4 /community/falkon
parent597332b6845710b75fc1fe250d40dffffcaf868f (diff)
downloadaports-e6ca18a4e20c65c260320b4f23e6de39cc5cdf8f.tar.bz2
aports-e6ca18a4e20c65c260320b4f23e6de39cc5cdf8f.tar.xz
community/falkon: add bash-completion subpackage
Diffstat (limited to 'community/falkon')
-rw-r--r--community/falkon/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/community/falkon/APKBUILD b/community/falkon/APKBUILD
index 9285785848..a0dc3d307e 100644
--- a/community/falkon/APKBUILD
+++ b/community/falkon/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=falkon
pkgver=3.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Cross-platform Qt Web Browser"
url="https://github.com/KDE/falkon"
arch="all !ppc64le !s390x !armhf !mips !mips64" # mips, ppc64le and s390x blocked by qt5-qtwebengine, armhf blocked by qt5-qtdeclarative
@@ -12,7 +12,7 @@ makedepends="cmake python3 qt5-qtbase-dev extra-cmake-modules qt5-qtdeclarative-
qt5-qtwebengine-dev xcb-util-dev libxcb-dev qt5-qtx11extras-dev qt5-qttools-dev
ki18n-dev karchive-dev kwallet-dev kio-dev kcrash-dev kcoreaddons-dev purpose-dev"
checkdepends="xvfb-run"
-subpackages="$pkgname-lang"
+subpackages="$pkgname-lang $pkgname-bash-completion:bashcomp:noarch"
source="https://download.kde.org/stable/falkon/3.1/falkon-$pkgver.tar.xz
execinfo_h.patch"
@@ -41,5 +41,13 @@ package() {
make DESTDIR="$pkgdir" install
}
+bashcomp() {
+ depends=""
+ pkgdesc="Bash completions for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
+
+ amove usr/share/bash-completion/completions
+}
+
sha512sums="c04f97869150b8ab81ae7b01c7137e35ca5c3103c057e01896454bbeda1075372a7831d2dfe7ab66794de0983593df6e46eff47c5cdc2bc959f81b022506f054 falkon-3.1.0.tar.xz
5492b986b8f2156fe8a7af7382c54a82efdc8ccafd5f56a545de8f76d4fb5d4427e75f1387a36d1def3a7667ad44eae75a99580afcacde8b9ab83367cfb75077 execinfo_h.patch"