From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- htpdate/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 htpdate/PKGBUILD (limited to 'htpdate/PKGBUILD') diff --git a/htpdate/PKGBUILD b/htpdate/PKGBUILD new file mode 100644 index 0000000..9e2d275 --- /dev/null +++ b/htpdate/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Yigit Sever +# Contributor: Dominik Schrempf +# Contributor: Jonathan Ryan +# Contributor: Hussam Al-Tayeb +pkgname=htpdate +pkgver=1.2.6 +pkgrel=1 +pkgdesc="A client for time synchronisation" +arch=('i686' 'x86_64') +url="https://github.com/angeloc/htpdate" +license=(GPL2) +depends=('glibc') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" + "htpdate.service") +sha256sums=('d2cff522b8f53b00769dcca77d8025b19238ed35d702a4739dc05e387f718909' + '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 +} -- cgit v1.2.3-70-g09d2