diff options
author | Mr Seth Price | 2017-03-18 20:42:05 -0400 |
---|---|---|
committer | Mr Seth Price | 2017-03-18 20:42:05 -0400 |
commit | dc16ab8d2970a3341fb879077a8ff2fba22992cc (patch) | |
tree | 1b825314c63e6bd2b80aaa261f28bae8506585d7 | |
download | aur-dc16ab8d2970a3341fb879077a8ff2fba22992cc.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2bd259c343c3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = tmux-notify-git + pkgdesc = Simple tmux notification system written in sh + pkgver = 0.1.r0.g46aa30c + pkgrel = 1 + url = http://www.github.com/ssterling/tmux-notify/ + arch = any + license = MIT + makedepends = git + depends = tmux + source = git+http://github.com/ssterling/tmux-notify.git + md5sums = SKIP + +pkgname = tmux-notify-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f0136113e86b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Seth Price <ssterling@firemail.cc> +pkgname=tmux-notify-git +pkgver=0.1.r0.g46aa30c +pkgrel=1 +pkgdesc="Simple tmux notification system written in sh" +arch=('any') +url="http://www.github.com/ssterling/tmux-notify/" +license=('MIT') +depends=('tmux') +makedepends=('git') +source=('git+http://github.com/ssterling/tmux-notify.git') +md5sums=('SKIP') + +pkgver() { + cd "${pkgname%-git}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +package() { + cd "$srcdir/${pkgname%-git}" + install -DT -m755 tmux-notify.sh "${pkgdir}/usr/bin/tmux-notify" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}" + install -DT -m644 tmux-notify.conf "${pkgdir}/etc/tmux-notify/example_config.conf" +} |