mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/drbd-utils: add bash completion
This commit is contained in:
parent
905b06d478
commit
644aa623a0
@ -10,7 +10,8 @@ license="GPL-2.0-or-later"
|
||||
depends="bash"
|
||||
makedepends="bison docbook-xsl flex libxslt linux-headers"
|
||||
provides="drbd"
|
||||
subpackages="$pkgname-doc $pkgname-pacemaker::noarch"
|
||||
subpackages="$pkgname-doc $pkgname-pacemaker::noarch
|
||||
$pkgname-bash-completion:bashcomp:noarch"
|
||||
source="https://links.linbit.com/sources/drbd/utils/$pkgname-$pkgver.tar.gz
|
||||
drbdsetup-permissions.patch
|
||||
drbd.initd
|
||||
@ -27,11 +28,11 @@ build() {
|
||||
--localstatedir=/var \
|
||||
--with-pacemaker \
|
||||
--with-drbdmon \
|
||||
--with-bashcompletion \
|
||||
--without-udev \
|
||||
--without-heartbeat \
|
||||
--without-rgmanager \
|
||||
--without-xen \
|
||||
--without-bashcompletion\
|
||||
--without-83support
|
||||
make
|
||||
}
|
||||
@ -49,6 +50,16 @@ pacemaker() {
|
||||
mv "$pkgdir"/usr/lib/ocf "$subpkgdir"/usr/lib
|
||||
}
|
||||
|
||||
bashcomp() {
|
||||
depends=""
|
||||
pkgdesc="Bash completions for $pkgname"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
|
||||
|
||||
mkdir -p "$subpkgdir"/usr/share/bash-completion
|
||||
mv "$pkgdir"/etc/bash_completion.d \
|
||||
"$subpkgdir"/usr/share/bash-completion/completions
|
||||
}
|
||||
|
||||
sha512sums="d310ac36f304dbd991f2e2f49ae402956de059c659203b427f73981e32d6586c3f83f2893e297c64a25653527eee679a251850c5fa4098ac96f995840f0e1354 drbd-utils-9.3.0.tar.gz
|
||||
562ae8eee03148666fb6e6e700c1eb9086f6901e176ea6cd007e3ac4e39d1cdaf967064de74dc1ad620155996dc7011bd0e2abd1c9595ff9bf5f4413673726f3 drbdsetup-permissions.patch
|
||||
bb465e32273aaba0b86ae681bc94c58bb51f542221f51ced197e22b316ce1bc9a0b4fe1f43af07ef13b3f0946466a43218f0a2ab7f4210adbb00174a503b64d7 drbd.initd"
|
||||
|
Loading…
Reference in New Issue
Block a user