diff options
Diffstat (limited to 'main/drbd-utils')
-rw-r--r-- | main/drbd-utils/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/main/drbd-utils/APKBUILD b/main/drbd-utils/APKBUILD index de2592ad27..3f03f79656 100644 --- a/main/drbd-utils/APKBUILD +++ b/main/drbd-utils/APKBUILD @@ -9,6 +9,7 @@ arch="all" license="GPL-2.0-or-later" depends="bash" makedepends="bison docbook-xsl flex libxslt linux-headers" +options="!check" # no tests provided provides="drbd=$pkgver-r$pkgrel" subpackages="$pkgname-doc $pkgname-pacemaker::noarch $pkgname-bash-completion:bashcomp:noarch" @@ -16,10 +17,11 @@ source="https://links.linbit.com/sources/drbd/utils/$pkgname-$pkgver.tar.gz drbdsetup-permissions.patch drbd.initd " -builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" + ./configure --prefix=/usr \ --sbindir=/sbin \ --sysconfdir=/etc \ @@ -39,9 +41,10 @@ build() { package() { cd "$builddir" + make DESTDIR="$pkgdir" install - install -m755 -D "$srcdir/drbd.initd" \ - "$pkgdir/etc/init.d/drbd" + + install -m755 -D "$srcdir/drbd.initd" "$pkgdir/etc/init.d/drbd" } pacemaker() { @@ -52,8 +55,8 @@ pacemaker() { } bashcomp() { - depends="" pkgdesc="Bash completions for $pkgname" + depends="" install_if="$pkgname=$pkgver-r$pkgrel bash-completion" mkdir -p "$subpkgdir"/usr/share/bash-completion |