aboutsummaryrefslogtreecommitdiffstats
path: root/extra/sntpc
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sntpc')
-rw-r--r--extra/sntpc/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/extra/sntpc/APKBUILD b/extra/sntpc/APKBUILD
index b1315e06b6..6df6a6efd0 100644
--- a/extra/sntpc/APKBUILD
+++ b/extra/sntpc/APKBUILD
@@ -4,16 +4,16 @@ pkgname=sntpc
pkgver=0.9
pkgrel=0
pkgdesc="Simple NTP client"
-url="http://dev.alpinelinux.org/cgit/cgit.cgi/sntpc"
+url="http://git.alpinelinux.org/cgit/sntpc"
license="GPL-2"
depends="uclibc"
-source="http://dev.alpinelinux.org/cgit/cgit.cgi/sntpc/snapshot/sntpc-0.9.tar.bz2
+source="http://git.alpinelinux.org/cgit/sntpc/snapshot/sntpc-$pkgver.tar.bz2
sntpc.initd
sntpc.confd
"
build() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$pkgname-$pkgver"
make || return 1
install -m755 -D sntpc "$pkgdir"/usr/sbin/sntpc
@@ -21,6 +21,6 @@ build() {
install -m644 -D "$srcdir"/sntpc.confd "$pkgdir"/etc/conf.d/sntpc
}
-md5sums="f42fb17ef688e0cea7e0267b1ec837ee sntpc-0.9.tar.bz2
+md5sums="60c64d975daa3a6f371e9e81538e38db sntpc-0.9.tar.bz2
c5018237685af2cddb0b4ede1751bee1 sntpc.initd
4ea1ceee01f94080be86188bde8f9adc sntpc.confd"