aboutsummaryrefslogtreecommitdiffstats
path: root/main/openntpd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/openntpd/APKBUILD')
-rw-r--r--main/openntpd/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/openntpd/APKBUILD b/main/openntpd/APKBUILD
index 0b88c56608..2f1675ba3e 100644
--- a/main/openntpd/APKBUILD
+++ b/main/openntpd/APKBUILD
@@ -2,10 +2,10 @@
pkgname=openntpd
pkgver=3.9_p1
_myver=3.9p1
-pkgrel=10
+pkgrel=11
pkgdesc="Lightweight NTP server ported from OpenBSD"
url=http://www.openntpd.org/
-install=openntpd.pre-install
+install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-upgrade"
subpackages="openntpd-doc"
depends=
@@ -41,8 +41,8 @@ build() {
package() {
cd "$srcdir/$pkgname-$_myver"
make install DESTDIR="$pkgdir"
- install -Dm755 ../openntpd.initd "$pkgdir/etc/init.d/ntpd"
- install -Dm644 ../openntpd.confd "$pkgdir/etc/conf.d/ntpd"
+ install -Dm755 ../openntpd.initd "$pkgdir/etc/init.d/$pkgname"
+ install -Dm644 ../openntpd.confd "$pkgdir/etc/conf.d/$pkgname"
}
md5sums="afc34175f38d08867c1403d9008600b3 openntpd-3.9p1.tar.gz