From 49a999f44bde9e0fbfd3b57c2a60ac65869b2da3 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 16 Sep 2013 16:48:16 +0200 Subject: Added an archlinux PKGBUILD --- packaging/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 packaging/PKGBUILD (limited to 'packaging/PKGBUILD') 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 + +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" +} -- cgit