diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-08-22 21:26:06 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-08-22 22:54:33 -0300 |
commit | 1db3a5ab9bc50d8e93ddd177e3725bad640e8068 (patch) | |
tree | 39c1d603bdd2fd341973df528252345fb5013d36 /pcr/loggerhead/PKGBUILD | |
parent | 82c5ac8a41565abe0c78d0a507d02b4863d0a862 (diff) | |
download | abslibre-1db3a5ab9bc50d8e93ddd177e3725bad640e8068.tar.gz abslibre-1db3a5ab9bc50d8e93ddd177e3725bad640e8068.tar.bz2 abslibre-1db3a5ab9bc50d8e93ddd177e3725bad640e8068.zip |
add loggerhead to [pcr]
Diffstat (limited to 'pcr/loggerhead/PKGBUILD')
-rw-r--r-- | pcr/loggerhead/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 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 +} |