blob: 1c75851ccad872a426125d1c6d909889faedf560 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sntpc
pkgver=0.9
pkgrel=4
pkgdesc="Simple NTP client"
url="http://git.alpinelinux.org/cgit/sntpc"
arch="all"
license="GPL-2"
depends=
source="http://git.alpinelinux.org/cgit/sntpc.git/snapshot/sntpc-$pkgver.tar.bz2
sntpc.initd
sntpc.confd
"
build() {
cd "$srcdir/$pkgname-$pkgver"
make || return 1
install -m755 -D sntpc "$pkgdir"/usr/sbin/sntpc
install -m755 -D "$srcdir"/sntpc.initd "$pkgdir"/etc/init.d/sntpc
install -m644 -D "$srcdir"/sntpc.confd "$pkgdir"/etc/conf.d/sntpc
}
md5sums="60c64d975daa3a6f371e9e81538e38db sntpc-0.9.tar.bz2
1e542e12cf6eeff7140ddbd9dde1066a sntpc.initd
4ea1ceee01f94080be86188bde8f9adc sntpc.confd"
|