diff options
author | Anatol Pomozov | 2016-03-09 21:27:34 -0800 |
---|---|---|
committer | Anatol Pomozov | 2016-03-09 21:27:34 -0800 |
commit | a321f36a7c47599d1056ed5a9a56ec69afc31126 (patch) | |
tree | cc74184c00bc4fac2f9e654ab42aff33f801a879 | |
download | aur-a321f36a7c47599d1056ed5a9a56ec69afc31126.tar.gz |
Add ntp client
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7947299690b6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Thu Mar 10 05:27:05 UTC 2016 +pkgbase = ntpclient + pkgdesc = A simple NTP (RFC-1305) client + pkgver = 2015.365 + pkgrel = 1 + url = http://doolittle.icarus.com/ntpclient/ + arch = x86_64 + arch = i686 + license = GPL2 + depends = glibc + source = http://doolittle.icarus.com/ntpclient/ntpclient_2015_365.tar.gz + sha1sums = 7513df5b5b64797c5fac27d7c1161f53a4675b26 + +pkgname = ntpclient + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b9606e293d3f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Anatol Pomozov <anatol dot pomozov at gmail> + +pkgname=ntpclient +pkgver=2015.365 +pkgrel=1 +pkgdesc='A simple NTP (RFC-1305) client' +url='http://doolittle.icarus.com/ntpclient/' +arch=(x86_64 i686) +depends=(glibc) +license=(GPL2) +source=(http://doolittle.icarus.com/ntpclient/ntpclient_${pkgver/./_}.tar.gz) +sha1sums=('7513df5b5b64797c5fac27d7c1161f53a4675b26') + +build() { + cd ntpclient-${pkgver%.*} + make +} + +package() { + cd ntpclient-${pkgver%.*} + install -D -m755 ntpclient $pkgdir/usr/bin/ntpclient +} |