updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / htpdate / PKGBUILD
blobfbf06a8004e49c2801c12e3c099c130653453163
1 # Contributor: Hussam Al-Tayeb <ht990332@gmail.com>
2 pkgname=htpdate
3 pkgver=1.0.4
4 pkgrel=2
5 pkgdesc="A client for time synchronisation"
6 arch=(i686 x86_64)
7 url="http://www.vervest.org/htp/"
8 options=(!libtool)
9 license=(GPL2)
10 depends=('gcc-libs')
11 makedepends=('patch')
12 source=("http://www.clevervest.com/htp/archive/c/${pkgname}-${pkgver}.tar.gz" "htpdate")
13 build() {
14   cd ${srcdir}/${pkgname}-${pkgver}
15   make || return 1
16   install -D -m 755 htpdate ${pkgdir}/usr/bin/htpdate || return 1
17   install -D -m 644 htpdate.8.gz ${pkgdir}/usr/share/man/man8/htpdate.8.gz || return 1
18   install -D -m 755 ${srcdir}/htpdate ${pkgdir}/etc/rc.d/htpdate || return 1
20 md5sums=('a3da5ad8965345eb734695c765010acf'
21          '2031a518ccf37c1ae9ab4e94a562da2e')