summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorangelic-sedition2015-08-15 22:06:01 -0400
committerangelic-sedition2015-08-15 22:06:01 -0400
commitd87d05380ec29b386bd1b4881f986527d3c9edf7 (patch)
tree08863c7df6e4ea9d1d4b37cab5e0abfe67e8491e /PKGBUILD
downloadaur-d87d05380ec29b386bd1b4881f986527d3c9edf7.tar.gz
Add zscroll-git to aur4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ea784529c5c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Lit Wakefield <noct[at]openmailbox[dot]org>
+_pkgname=zscroll
+pkgname=zscroll-git
+pkgver=0.1.r0.gc270651
+pkgrel=1
+pkgdesc="A text scroller for use with panels"
+arch=('any')
+url="https://github.com/angelic-sedition/zscroll"
+license=('Simplified BSD')
+depends=('python')
+makedepends=('git')
+provides=("${_pkgname}")
+source=("git://github.com/angelic-sedition/${_pkgname}.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}