From 4f382359b7f186a64d591140cf019a002e3dd29b Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 30 Sep 2021 15:02:40 +0300 Subject: Update to v1.2.6 - Set the upstream url to the new (maintained) fork - Remove the pid patch as it's no longer needed --- PKGBUILD | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index ad8a2bc..9e2d275 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,32 +1,28 @@ -# Maintainer: Dominik Schrempf +# Maintainer: Yigit Sever +# Contributor: Dominik Schrempf # Contributor: Jonathan Ryan # Contributor: Hussam Al-Tayeb pkgname=htpdate -pkgver=1.2.2 -pkgrel=3 +pkgver=1.2.6 +pkgrel=1 pkgdesc="A client for time synchronisation" -arch=(i686 x86_64) -url="http://www.vervest.org/htp/" +arch=('i686' 'x86_64') +url="https://github.com/angeloc/htpdate" license=(GPL2) depends=('glibc') -# 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" - "100-pidfile.patch") -md5sums=('aad8c33933648532ac8716c809b15be1' - 'd00fce722a88150cffb1b322e6cc8869' - 'f4612bb44274ed571117724a49abb3c1') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" + "htpdate.service") +sha256sums=('d2cff522b8f53b00769dcca77d8025b19238ed35d702a4739dc05e387f718909' + '2f12bdf0745fbf7c52f465e78b47635fbdc6fa372e63fb94a6063a5f67ff8c8b') build() { cd ${pkgname}-${pkgver} - patch htpdate.c ../100-pidfile.patch make } package() { - install -D -m 644 htpdate.service ${pkgdir}/usr/lib/systemd/system/htpdate.service + install -D -m644 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 + install -D -m755 htpdate ${pkgdir}/usr/bin/htpdate + install -D -m644 htpdate.8 ${pkgdir}/usr/share/man/man8/htpdate.8 } -- cgit v1.2.3-70-g09d2