diff options
author | Cyrus | 2015-10-03 10:53:18 +0800 |
---|---|---|
committer | Cyrus | 2015-10-03 10:53:18 +0800 |
commit | d752924dec1861b34ca1fe5cb271e1d9aec51bb9 (patch) | |
tree | c0c68a947e8b4920d8e1fcec66de817384535f30 /PKGBUILD | |
download | aur-sind-git.tar.gz |
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1c4f7a6bd4dd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +pkgname=sind-git +pkgrel=1 +pkgver=r21.aeecca0 +provides=(sind) +pkgdesc='Simple Notification Daemon. Prints freedesktop notifications to stdout' +url=https://github.com/htylo/simplenotifydaemon +makedepends=(git) +source=("${pkgname}::git+https://github.com/htylo/simplenotifydaemon") +arch=(any) +options=(!strip) +sha512sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "${srcdir}/${pkgname}" + make +} + +package() { + cd "${srcdir}/${pkgname}" + make DESTDIR="$pkgdir/" install +} |