updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / loggerhead / PKGBUILD
blob8fa30f33c97110847fee87165fcfa5218cc55f26
1 # Contributor: Alper KANAT <alperkanat@raptiye.org>
2 pkgname=loggerhead
3 pkgver=1.18.1
4 pkgrel=1
5 pkgdesc="A web viewer for projects in bazaar."
6 arch=('i686' 'x86_64')
7 url="https://launchpad.net/loggerhead"
8 license=('GPL2')
9 depends=("python-simpletal" "python-paste>=1.2")
10 makedepends=("python")
11 optdepends=("python-paste-deploy: needed when proxying through Apache")
12 source=(http://launchpad.net/loggerhead/1.18/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
13 install=${pkgname}.install
15 build() {
16         _LICENSE_DIR="$pkgdir/usr/share/licenses/$pkgname"
17         _DOC_DIR="$pkgdir/usr/share/doc/$pkgname"
19         cd ${srcdir}/$pkgname-$pkgver
20         python2 setup.py install --root=${pkgdir}
22         # copying license file
23         mkdir -p $_LICENSE_DIR
24         install -m644 COPYING.txt $_LICENSE_DIR
26         # copying readme file
27         mkdir -p $_DOC_DIR
28         install -m644 README $_DOC_DIR
30 md5sums=('bef897d4674967ef835d1183d587d34f')