diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 18 |
3 files changed, 19 insertions, 11 deletions
@@ -1,15 +1,15 @@ | |||
1 | pkgbase = htpdate | 1 | pkgbase = htpdate |
2 | pkgdesc = A client for time synchronisation | 2 | pkgdesc = A client for time synchronisation |
3 | pkgver = 1.2.0 | 3 | pkgver = 1.2.1 |
4 | pkgrel = 2 | 4 | pkgrel = 1 |
5 | url = http://www.vervest.org/htp/ | 5 | url = http://www.vervest.org/htp/ |
6 | arch = i686 | 6 | arch = i686 |
7 | arch = x86_64 | 7 | arch = x86_64 |
8 | license = GPL2 | 8 | license = GPL2 |
9 | depends = glibc | 9 | depends = glibc |
10 | source = http://www.vervest.org/htp/archive/c/htpdate-1.2.0.tar.xz | 10 | source = http://www.vervest.org/htp/archive/c/htpdate-1.2.1.tar.xz |
11 | source = htpdate.service | 11 | source = htpdate.service |
12 | md5sums = 9d5ca69be06edf5d535b52b5f790da4e | 12 | md5sums = cab01ddcb62bd84154670a37a7a0c31c |
13 | md5sums = ed9c9b1222e90e6ee0751f8f88772606 | 13 | md5sums = ed9c9b1222e90e6ee0751f8f88772606 |
14 | 14 | ||
15 | pkgname = htpdate | 15 | pkgname = htpdate |
@@ -1,2 +1,4 @@ | |||
1 | /update | 1 | /update |
2 | /htpdate-*.tar.xz \ No newline at end of file | 2 | /htpdate-*.tar.xz |
3 | /pkg/ | ||
4 | /src/ | ||
@@ -1,25 +1,31 @@ | |||
1 | # Maintainer: Dominik Schrempf <dominik.schrempf at openmailbox dot org> | 1 | # Maintainer: Dominik Schrempf <dominik.schrempf at gmail dot com> |
2 | # Contributor: Jonathan Ryan <jryan at curious-computing dot com> | 2 | # Contributor: Jonathan Ryan <jryan at curious-computing dot com> |
3 | # Contributor: Hussam Al-Tayeb <hussam at visp dot net dot lb> | 3 | # Contributor: Hussam Al-Tayeb <hussam at visp dot net dot lb> |
4 | pkgname=htpdate | 4 | pkgname=htpdate |
5 | pkgver=1.2.0 | 5 | pkgver=1.2.1 |
6 | pkgrel=2 | 6 | pkgrel=1 |
7 | pkgdesc="A client for time synchronisation" | 7 | pkgdesc="A client for time synchronisation" |
8 | arch=(i686 x86_64) | 8 | arch=(i686 x86_64) |
9 | url="http://www.vervest.org/htp/" | 9 | url="http://www.vervest.org/htp/" |
10 | license=(GPL2) | 10 | license=(GPL2) |
11 | depends=('glibc') | 11 | depends=('glibc') |
12 | source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz" "htpdate.service") | 12 | # TODO: In the process of adding two patches from OpenWRT, but they are rejected. |
13 | md5sums=('9d5ca69be06edf5d535b52b5f790da4e' | 13 | # See https://aur.archlinux.org/packages/htpdate/. |
14 | source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz" | ||
15 | "htpdate.service") | ||
16 | md5sums=('cab01ddcb62bd84154670a37a7a0c31c' | ||
14 | 'ed9c9b1222e90e6ee0751f8f88772606') | 17 | 'ed9c9b1222e90e6ee0751f8f88772606') |
18 | # "100-adjtimex.patch" | ||
19 | # "101-daemon-run-in-foreground.patch") | ||
20 | |||
15 | build() { | 21 | build() { |
16 | cd ${pkgname}-${pkgver} | 22 | cd ${pkgname}-${pkgver} |
17 | make | 23 | make |
18 | } | 24 | } |
25 | |||
19 | package() { | 26 | package() { |
20 | install -D -m 644 htpdate.service ${pkgdir}/usr/lib/systemd/system/htpdate.service | 27 | install -D -m 644 htpdate.service ${pkgdir}/usr/lib/systemd/system/htpdate.service |
21 | cd ${pkgname}-${pkgver} | 28 | cd ${pkgname}-${pkgver} |
22 | install -D -m 755 htpdate ${pkgdir}/usr/bin/htpdate | 29 | install -D -m 755 htpdate ${pkgdir}/usr/bin/htpdate |
23 | install -D -m 644 htpdate.8 ${pkgdir}/usr/share/man/man8/htpdate.8 | 30 | install -D -m 644 htpdate.8 ${pkgdir}/usr/share/man/man8/htpdate.8 |
24 | } | 31 | } |
25 | |||