diff options
author | jaseg <s@jaseg.de> | 2013-09-16 16:48:16 +0200 |
---|---|---|
committer | jaseg <s@jaseg.de> | 2013-09-16 16:48:16 +0200 |
commit | 49a999f44bde9e0fbfd3b57c2a60ac65869b2da3 (patch) | |
tree | b870a116684e6eb20fa27a65938fcf64dfb8555e /packaging | |
parent | 6a1f9902f1679a9757e200b2c4cb3fa922af0679 (diff) | |
download | pixelterm-49a999f44bde9e0fbfd3b57c2a60ac65869b2da3.tar.gz pixelterm-49a999f44bde9e0fbfd3b57c2a60ac65869b2da3.tar.bz2 pixelterm-49a999f44bde9e0fbfd3b57c2a60ac65869b2da3.zip |
Added an archlinux PKGBUILD
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/PKGBUILD | 32 |
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" +} |