summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelic-sedition2015-08-15 22:06:01 -0400
committerangelic-sedition2015-08-15 22:06:01 -0400
commitd87d05380ec29b386bd1b4881f986527d3c9edf7 (patch)
tree08863c7df6e4ea9d1d4b37cab5e0abfe67e8491e
downloadaur-d87d05380ec29b386bd1b4881f986527d3c9edf7.tar.gz
Add zscroll-git to aur4
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0c073578d3f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = zscroll-git
+ pkgdesc = A text scroller for use with panels
+ pkgver = 0.1.r0.gc270651
+ pkgrel = 1
+ url = https://github.com/angelic-sedition/zscroll
+ arch = any
+ license = Simplified BSD
+ makedepends = git
+ depends = python
+ provides = zscroll
+ source = git://github.com/angelic-sedition/zscroll.git
+ md5sums = SKIP
+
+pkgname = zscroll-git
+
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
+}