summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reuße2016-06-25 10:30:39 +0200
committerSebastian Reuße2016-06-25 10:32:17 +0200
commitb3fb2b36b508c68a392002060bdcad98a58acc71 (patch)
tree0d892ef12bcc7a6e1c77772d5e82389db51c66be
downloadaur-b3fb2b36b508c68a392002060bdcad98a58acc71.tar.gz
Init.
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD29
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..98d18facfb4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Sat Jun 25 08:32:17 UTC 2016
+pkgbase = scroller-git
+ pkgdesc = A utility for truncating text by rolling it like a news ticker
+ pkgver = r12.a0d94ab
+ pkgrel = 1
+ url = https://github.com/kbrgl/scroller
+ arch = any
+ license = custom
+ makedepends = git
+ provides = scroller
+ conflicts = scroller
+ source = git+https://github.com/kbrgl/scroller
+ md5sums = SKIP
+
+pkgname = scroller-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..468cd87d3ce
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.pkg.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..29413628ea3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Sebastian Reuße <seb@wirrsal.net>
+pkgname=scroller-git
+_gitname=scroller
+pkgver=r12.a0d94ab
+pkgrel=1
+pkgdesc="A utility for truncating text by rolling it like a news ticker"
+arch=(any)
+url=https://github.com/kbrgl/scroller
+license=(custom)
+makedepends=(git)
+provides=(scroller)
+conflicts=(scroller)
+source=(git+https://github.com/kbrgl/scroller)
+md5sums=(SKIP)
+
+
+pkgver() {
+ cd "$_gitname"
+ # No tagged commits. ヽ(´ー`)ノ
+ commit=$(git rev-list --count master)
+ hash=$(git rev-parse --short HEAD)
+ echo "r$commit.$hash"
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}