diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/loggerhead/PKGBUILD | 30 | ||||
-rw-r--r-- | pcr/python-simpletal/PKGBUILD | 2 |
2 files changed, 31 insertions, 1 deletions
diff --git a/pcr/loggerhead/PKGBUILD b/pcr/loggerhead/PKGBUILD new file mode 100644 index 000000000..e8bb4fb2c --- /dev/null +++ b/pcr/loggerhead/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Márcio Silva <coadde@parabola.nu> + +pkgname=loggerhead +pkgver=1.18.1 +pkgrel=1 +pkgdesc='The Web viewer for projects in GNU Bazaar' +arch=('i686' 'x86_64' 'armv7h') +license=('GPL2') +depends=('bzr' 'python2-simpletal' 'python2-simplejson' 'python2-paste') +optdepends=('python2-pastedeploy: for proxying through web server software' + 'python2-flup: needs to use FastCGI, SCGI or AJP') +makedepends=('python2-setuptools') +url="https://launchpad.net/$pkgname" +source=("$url/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz") +sha512sums=('d265b3470bd744266ae8ee4c90a749b875b528f88924bae28f03417cbe460b82ea8649b00371b50dad679be386d56063f02a78b0f73466edb04aa75612df79e4') + +prepare() { + cd $srcdir/$pkgname-$pkgver + sed -i 's|env python|env python2|' {info.py,serve-branches,{start,stop}-loggerhead} +} + +build() { + cd $srcdir/$pkgname-$pkgver + python2 setup.py build +} + +package() { + cd $srcdir/$pkgname-$pkgver + python2 setup.py install --root=$pkgdir +} diff --git a/pcr/python-simpletal/PKGBUILD b/pcr/python-simpletal/PKGBUILD index 9b8f8e79f..a8431ebfa 100644 --- a/pcr/python-simpletal/PKGBUILD +++ b/pcr/python-simpletal/PKGBUILD @@ -8,7 +8,7 @@ _pkgver=4.3 # It's needs for Python 2 pkgrel=1 license=('BSD3') pkgdesc='A Python implementation of the TAL, TALES and METAL specification' -arch=('any') +arch=('i686' 'x86_64' 'armv7h') makedepends=('python' 'python2') url="https://www.owlfish.com/software/${_pkgname,}" source=("$url/downloads/$_pkgname-$pkgver.tar.gz" |