diff options
author | Moritz Lipp | 2015-06-15 20:18:20 +0200 |
---|---|---|
committer | Moritz Lipp | 2015-06-15 20:18:20 +0200 |
commit | 894e3b2b884ea4c9098029c3d30a5ca38f682f20 (patch) | |
tree | 2182d0faffa2ab485285759d1dee67b975948b2c | |
download | aur-894e3b2b884ea4c9098029c3d30a5ca38f682f20.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..947af0bc3dc3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = pysheng-git + pkgdesc = CLI and GUI program to download pages from Google Books as PNG images + pkgver = r41.3fcda63 + pkgrel = 1 + url = https://github.com/tokland/pysheng + arch = x86_64 + arch = i686 + license = GPL + makedepends = git + depends = python2 + optdepends = python2-reportlab: GUI + optdepends = pygtk: GUI + conflicts = pysheng + conflicts = pysheng-svn + source = pysheng::git+https://github.com/tokland/pysheng + md5sums = SKIP + +pkgname = pysheng-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..57cc1a229764 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Moritz Lipp <mail@mlq.me> +pkgname=pysheng-git +pkgver=r41.3fcda63 +pkgrel=1 +pkgdesc="CLI and GUI program to download pages from Google Books as PNG images" +arch=('x86_64' 'i686') +url="https://github.com/tokland/pysheng" +license=('GPL') +depends=('python2') +makedepends=('git') +optdepends=('python2-reportlab: GUI' + 'pygtk: GUI') +conflicts=('pysheng' 'pysheng-svn') +source=('pysheng::git+https://github.com/tokland/pysheng') +md5sums=('SKIP') +_gitname=pysheng + +pkgver() { + cd "$_gitname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/$_gitname" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: |