aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-13 04:01:23 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-13 04:01:23 -0300
commitab270d8339292907c453cf400acb46f3e3d6a0ee (patch)
tree39706430f73e27ce1d8f04547612cdbb2535e997
parent2f7ca7b0dcbf711d1950322545006bb954be0f43 (diff)
downloadaports-ab270d8339292907c453cf400acb46f3e3d6a0ee.tar.gz
aports-ab270d8339292907c453cf400acb46f3e3d6a0ee.tar.bz2
aports-ab270d8339292907c453cf400acb46f3e3d6a0ee.tar.xz
community/lightdm: add bash-completion subpackage
-rw-r--r--community/lightdm/APKBUILD20
1 files changed, 18 insertions, 2 deletions
diff --git a/community/lightdm/APKBUILD b/community/lightdm/APKBUILD
index e9c812370a..78eccb4d5c 100644
--- a/community/lightdm/APKBUILD
+++ b/community/lightdm/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lightdm
pkgver=1.30.0
-pkgrel=1
+pkgrel=2
pkgdesc="A cross-desktop display manager"
url="https://www.freedesktop.org/wiki/Software/LightDM"
arch="all !s390x !mips !mips64" # gnome-themes-standard missing due to librsvg
@@ -15,7 +15,15 @@ makedepends="linux-pam-dev gtk+3.0-dev libxext-dev libxklavier-dev
install="$pkgname.pre-install"
pkgusers="lightdm"
pkggroups="lightdm"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-openrc $pkgname-qt5 $pkgname-qt5-dev:qt5_dev"
+subpackages="
+ $pkgname-dev
+ $pkgname-doc
+ $pkgname-lang
+ $pkgname-openrc
+ $pkgname-qt5
+ $pkgname-qt5-dev:qt5_dev
+ $pkgname-bash-completion:bashcomp:noarch
+ "
source="https://github.com/CanonicalLtd/lightdm/releases/download/$pkgver/lightdm-$pkgver.tar.xz
musl-language.patch
musl-is-linux.patch
@@ -62,6 +70,14 @@ qt5_dev() {
mv "$pkgdir"/../$pkgname-dev/usr/lib/pkgconfig/liblightdm-qt5-3.pc "$subpkgdir"/usr/lib/pkgconfig/
}
+bashcomp() {
+ depends=""
+ pkgdesc="Bash completions for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
+
+ amove usr/share/bash-completion/completions
+}
+
sha512sums="bca25a0aa73caf7d51e5882889a1707d2527470a170658c1be98ecfb96c8f85fd616494fc5bed658e744f91b9f8b0a98d2a0cf42f9c030242ae470c8a27145ce lightdm-1.30.0.tar.xz
592d630bdabeed304f8b677ceb0ebd2a6ab0930baae473814aafb0d58b7e28a79c8c667f18a656a460132c48a9fee90be7eebd50f835ea641d6d99387b28310a musl-language.patch
aa33888f61b61f6c8082c77dc0b539fa14fb395c17e70b825ba88af7bb6adaad8f99583342a77442c60c105c1b83dd6eb0547fbddb43dcd767d9ad2c65ca2baf musl-is-linux.patch