summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiachen Yang2015-06-18 20:39:28 +0900
committerJiachen Yang2015-06-18 20:39:28 +0900
commit24e14843eb03c889378c39a3ad7fa8eed95316df (patch)
tree90e3e2ba94702bcdb5f2cd41e43f31ac2f7e289b
downloadaur-24e14843eb03c889378c39a3ad7fa8eed95316df.tar.gz
init notify-desktop-git
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD34
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..161651fb897a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = notify-desktop-git
+ pkgdesc = A replacement for notify-send with replaces-id support and less dependencies
+ pkgver = r16.90a4043
+ pkgrel = 1
+ url = https://github.com/nowrep/notify-desktop
+ arch = x86_64
+ arch = i686
+ license = GPL2
+ makedepends = git
+ depends = libdbus
+ options = !emptydirs
+ source = git+https://github.com/nowrep/notify-desktop
+ sha256sums = SKIP
+
+pkgname = notify-desktop-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..34e8d89af666
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Jiachen Yang <farseerfc@gmail.com>
+pkgname=notify-desktop-git
+_gitname=notify-desktop
+pkgver=r16.90a4043
+pkgrel=1
+pkgdesc="A replacement for notify-send with replaces-id support and less dependencies"
+arch=(x86_64 i686)
+url="https://github.com/nowrep/$_gitname"
+license=('GPL2')
+depends=('libdbus')
+makedepends=('git')
+options=(!emptydirs)
+source=("git+https://github.com/nowrep/$_gitname")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $_gitname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$_gitname"
+ mkdir bin
+ mkdir build
+ cd src
+ make
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ install -m755 -D bin/$_gitname "$pkgdir/usr/bin/$_gitname"
+}
+
+# vim:set ts=2 sw=2 et: