aboutsummaryrefslogtreecommitdiff
path: root/packaging/PKGBUILD
diff options
context:
space:
mode:
authorjaseg <s@jaseg.de>2013-09-16 16:48:16 +0200
committerjaseg <s@jaseg.de>2013-09-16 16:48:16 +0200
commit49a999f44bde9e0fbfd3b57c2a60ac65869b2da3 (patch)
treeb870a116684e6eb20fa27a65938fcf64dfb8555e /packaging/PKGBUILD
parent6a1f9902f1679a9757e200b2c4cb3fa922af0679 (diff)
downloadpixelterm-49a999f44bde9e0fbfd3b57c2a60ac65869b2da3.tar.gz
pixelterm-49a999f44bde9e0fbfd3b57c2a60ac65869b2da3.tar.bz2
pixelterm-49a999f44bde9e0fbfd3b57c2a60ac65869b2da3.zip
Added an archlinux PKGBUILD
Diffstat (limited to 'packaging/PKGBUILD')
-rw-r--r--packaging/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/packaging/PKGBUILD b/packaging/PKGBUILD
new file mode 100644
index 0000000..5be9b8f
--- /dev/null
+++ b/packaging/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: jaseg <arch@jaseg.net>
+
+pkgname=pixelterm-jaseg-git
+pkgver=0.52.6a1f990
+pkgrel=1
+pkgdesc="Display images on a terminal. Even works with animated GIFs"
+arch=('any')
+license=('GPL')
+url="https://github.com/jaseg/pixelterm"
+depends=('python' 'python-pillow')
+makedepends=('git')
+provides=('pixelterm')
+source=('git+https://github.com/jaseg/pixelterm#branch=master')
+md5sums=('SKIP')
+
+_gitname="pixelterm"
+
+pkgver() {
+ cd "$srcdir/$_gitname"
+ microver="$(git log -1 --pretty=format:%h )"
+ minorver="$(git rev-list --count HEAD)"
+ echo "0.$minorver.$microver"
+}
+
+build() {
+ true
+}
+
+package() {
+ cd "${srcdir}/$_gitname"
+ python setup.py install --root="$pkgdir"
+}