summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2015-09-03 05:47:25 -0400
committerChris Severance2015-09-03 05:47:25 -0400
commit6aa82ba27ec37a73565be54acba746b2359203e5 (patch)
tree9e4022ab26dba6379ad8471e0ba2349a1660e8c3
downloadaur-6aa82ba27ec37a73565be54acba746b2359203e5.tar.gz
Initial Import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD40
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6dcf63cf5f8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = wendy-git
+ pkgdesc = Watch a directory and execute a command on file creation/deletion/modification
+ pkgver = 0.7.r0.g914fb4a
+ pkgrel = 1
+ url = http://git.z3bra.org/cgit.cgi/wendy
+ arch = i686
+ arch = x86_64
+ license = WTFPL
+ makedepends = git
+ depends = glibc
+ provides = wendy=0.7
+ conflicts = wendy
+ source = git://phobos.z3bra.org/wendy
+ sha256sums = SKIP
+
+pkgname = wendy-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2f51bfaac02
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
+# Contributor: Miles Sandlar <miles at userbound.com>
+
+set -u
+_pkgname='wendy'
+pkgname="${_pkgname}-git"
+pkgver=0.7.r0.g914fb4a
+pkgrel=1
+pkgdesc='Watch a directory and execute a command on file creation/deletion/modification'
+arch=('i686' 'x86_64')
+url='http://git.z3bra.org/cgit.cgi/wendy'
+license=('WTFPL')
+depends=('glibc')
+makedepends=('git')
+provides=("${_pkgname}=${pkgver%%.r*}")
+conflicts=("${_pkgname}")
+source=('git://phobos.z3bra.org/wendy')
+sha256sums=('SKIP')
+
+pkgver() {
+ set -u
+ cd "${_pkgname}"
+ git describe --long | sed -e 's:^v::g' -e 's/\([^-]*-g\)/r\1/' -e 's/-/./g'
+ set +u
+}
+
+build() {
+ set -u
+ cd "${_pkgname}"
+ make
+ set +u
+}
+
+package() {
+ set -u
+ cd "${_pkgname}"
+ make PREFIX='/usr' DESTDIR="${pkgdir}" MANPREFIX='/usr/share/man' install
+ set +u
+}
+set +u