# Maintainer: Yigit Sever # Contributor: Dominik Schrempf # Contributor: Jonathan Ryan # Contributor: Hussam Al-Tayeb pkgname=htpdate pkgver=1.3.5 pkgrel=1 pkgdesc="HTTP Time protocol" arch=('i686' 'x86_64') url="https://github.com/twekkel/htpdate" license=(GPL2) depends=('glibc') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" "htpdate.service") sha256sums=('a8734d4f1d84d0608d045508608f2d29d8b968da269f83120aaac67709b1bd03' '2f12bdf0745fbf7c52f465e78b47635fbdc6fa372e63fb94a6063a5f67ff8c8b') build() { cd ${pkgname}-${pkgver} make } package() { install -D -m644 htpdate.service ${pkgdir}/usr/lib/systemd/system/htpdate.service cd ${pkgname}-${pkgver} install -D -m755 htpdate ${pkgdir}/usr/bin/htpdate install -D -m644 htpdate.8 ${pkgdir}/usr/share/man/man8/htpdate.8 }