summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Schrempf2019-07-13 10:11:51 +0200
committerDominik Schrempf2019-07-13 10:11:51 +0200
commitc3f853a31ee9060efcac009cfbaa210e2c4114da (patch)
tree86e06e82ee9efc79dc55d2058f10e16356bfabd1
parent4422e754f3617dacedae40a90653605941335d8f (diff)
downloadaur-c3f853a31ee9060efcac009cfbaa210e2c4114da.tar.gz
bump version
-rw-r--r--.SRCINFO8
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD18
3 files changed, 19 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4665f95d69cc..d4eaea866806 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = htpdate
pkgdesc = A client for time synchronisation
- pkgver = 1.2.0
- pkgrel = 2
+ pkgver = 1.2.1
+ pkgrel = 1
url = http://www.vervest.org/htp/
arch = i686
arch = x86_64
license = GPL2
depends = glibc
- source = http://www.vervest.org/htp/archive/c/htpdate-1.2.0.tar.xz
+ source = http://www.vervest.org/htp/archive/c/htpdate-1.2.1.tar.xz
source = htpdate.service
- md5sums = 9d5ca69be06edf5d535b52b5f790da4e
+ md5sums = cab01ddcb62bd84154670a37a7a0c31c
md5sums = ed9c9b1222e90e6ee0751f8f88772606
pkgname = htpdate
diff --git a/.gitignore b/.gitignore
index d74bd8827f21..a41cf30995f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
/update
-/htpdate-*.tar.xz \ No newline at end of file
+/htpdate-*.tar.xz
+/pkg/
+/src/
diff --git a/PKGBUILD b/PKGBUILD
index f29ee6e3a153..6839a56596f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,31 @@
-# Maintainer: Dominik Schrempf <dominik.schrempf at openmailbox dot org>
+# Maintainer: Dominik Schrempf <dominik.schrempf at gmail dot com>
# Contributor: Jonathan Ryan <jryan at curious-computing dot com>
# Contributor: Hussam Al-Tayeb <hussam at visp dot net dot lb>
pkgname=htpdate
-pkgver=1.2.0
-pkgrel=2
+pkgver=1.2.1
+pkgrel=1
pkgdesc="A client for time synchronisation"
arch=(i686 x86_64)
url="http://www.vervest.org/htp/"
license=(GPL2)
depends=('glibc')
-source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz" "htpdate.service")
-md5sums=('9d5ca69be06edf5d535b52b5f790da4e'
+# TODO: In the process of adding two patches from OpenWRT, but they are rejected.
+# See https://aur.archlinux.org/packages/htpdate/.
+source=("http://www.vervest.org/htp/archive/c/${pkgname}-${pkgver}.tar.xz"
+ "htpdate.service")
+md5sums=('cab01ddcb62bd84154670a37a7a0c31c'
'ed9c9b1222e90e6ee0751f8f88772606')
+ # "100-adjtimex.patch"
+ # "101-daemon-run-in-foreground.patch")
+
build() {
cd ${pkgname}-${pkgver}
make
}
+
package() {
install -D -m 644 htpdate.service ${pkgdir}/usr/lib/systemd/system/htpdate.service
cd ${pkgname}-${pkgver}
install -D -m 755 htpdate ${pkgdir}/usr/bin/htpdate
install -D -m 644 htpdate.8 ${pkgdir}/usr/share/man/man8/htpdate.8
}
-