diff options
| author | Yuval Adam <yuval@y3xz.com> | 2016-02-02 00:11:30 +0200 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2016-02-02 00:11:30 +0200 |
| commit | f9dba363b6e31c8ad2445f5c0b4069645f264e9f (patch) | |
| tree | ca5b64aea9f93302408b38bdf34cc18998a87257 | |
| parent | 1d12ff0c20cbb91a2b553251f4c51a880b3c563b (diff) | |
| parent | 9cdd27f120fbbec5b110fcec79a627c3c1254d21 (diff) | |
Add 'aur/ntimed-git/' from commit '9cdd27f120fbbec5b110fcec79a627c3c1254d21'
git-subtree-dir: aur/ntimed-git
git-subtree-mainline: 1d12ff0c20cbb91a2b553251f4c51a880b3c563b
git-subtree-split: 9cdd27f120fbbec5b110fcec79a627c3c1254d21
| -rw-r--r-- | aur/ntimed-git/.SRCINFO | 13 | ||||
| -rw-r--r-- | aur/ntimed-git/PKGBUILD | 30 |
2 files changed, 43 insertions, 0 deletions
diff --git a/aur/ntimed-git/.SRCINFO b/aur/ntimed-git/.SRCINFO new file mode 100644 index 0000000..4d7e427 --- /dev/null +++ b/aur/ntimed-git/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ntimed-git + pkgdesc = Network time synchronization software, NTPD replacement + pkgver = f3810d7 + pkgrel = 1 + url = https://github.com/bsdphk/Ntimed/ + arch = any + license = BSD + provides = ntimed + source = git+https://github.com/bsdphk/Ntimed/ + sha1sums = SKIP + +pkgname = ntimed-git + diff --git a/aur/ntimed-git/PKGBUILD b/aur/ntimed-git/PKGBUILD new file mode 100644 index 0000000..34d2a43 --- /dev/null +++ b/aur/ntimed-git/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=ntimed-git +pkgver=f3810d7 +pkgrel=1 +pkgdesc="Network time synchronization software, NTPD replacement" +arch=('any') +url="https://github.com/bsdphk/Ntimed/" +license=(BSD) +provides=('ntimed') +source=('git+https://github.com/bsdphk/Ntimed/') +sha1sums=('SKIP') +_gitname=Ntimed + +pkgver() { + cd $_gitname + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd $_gitname + sh configure + make +} + +package() { + install -Dm755 ${srcdir}/${_gitname}/ntimed-client ${pkgdir}/usr/bin/ntimed-client +} + +# vim:set ts=2 sw=2 et: |
