diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/openntpd/APKBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/main/openntpd/APKBUILD b/main/openntpd/APKBUILD index e9063f6b2f..425ebfde4d 100644 --- a/main/openntpd/APKBUILD +++ b/main/openntpd/APKBUILD @@ -19,6 +19,7 @@ builddir="$srcdir/$pkgname-$_pkgver" build() { cd "$builddir" + ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -26,20 +27,20 @@ build() { --localstatedir=/var \ --mandir=/usr/share/man \ --sysconfdir=/etc \ - --with-privsep-user=ntp \ - || return 1 - make || return 1 + --with-privsep-user=ntp + make } package() { cd "$builddir" - make install DESTDIR="$pkgdir" || return 1 - mkdir -p "$pkgdir"/var/empty || return 1 + make install DESTDIR="$pkgdir" + + mkdir -p "$pkgdir"/var/empty install -Dm755 "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/"$pkgname" || return 1 + "$pkgdir"/etc/init.d/"$pkgname" install -Dm644 "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/"$pkgname" || return 1 + "$pkgdir"/etc/conf.d/"$pkgname" rmdir "$pkgdir"/var/run } |