diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..8ff331e --- /dev/null +++ b/PKGBUILD | |||
@@ -0,0 +1,24 @@ | |||
1 | # Contributor: Jonathan Ryan <jryan@curious-computing.com> | ||
2 | # Contributor: Hussam Al-Tayeb <hussam@visp.net.lb> | ||
3 | pkgname=htpdate | ||
4 | pkgver=1.1.1 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="A client for time synchronisation" | ||
7 | arch=(i686 x86_64) | ||
8 | url="http://www.vervest.org/htp/" | ||
9 | license=(GPL2) | ||
10 | depends=('glibc') | ||
11 | source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz" "htpdate.service") | ||
12 | md5sums=('c612f63282e3f23b709f37a5c81d4739' | ||
13 | 'b419153625904d9a5544e585f69c66c5') | ||
14 | build() { | ||
15 | cd ${pkgname}-${pkgver} | ||
16 | make | ||
17 | } | ||
18 | package() { | ||
19 | install -D -m 644 htpdate.service ${pkgdir}/usr/lib/systemd/system/htpdate.service | ||
20 | cd ${pkgname}-${pkgver} | ||
21 | install -D -m 755 htpdate ${pkgdir}/usr/bin/htpdate | ||
22 | install -D -m 644 htpdate.8 ${pkgdir}/usr/share/man/man8/htpdate.8 | ||
23 | } | ||
24 | |||