Added an archlinux PKGBUILD
This commit is contained in:
parent
6a1f9902f1
commit
49a999f44b
1 changed files with 32 additions and 0 deletions
32
packaging/PKGBUILD
Normal file
32
packaging/PKGBUILD
Normal file
|
|
@ -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"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue