summaryrefslogtreecommitdiff
path: root/pcr/nevow/PKGBUILD
blob: 956a0cd32ebc671c8f9b2782ff5063469001a239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com>
# Contributor: Peter Simons <simons@cryp.to>
pkgname=nevow
pkgver=0.10.0
pkgrel=8
pkgdesc="web application construction kit written in Python"
arch=('any')
url='http://pypi.python.org/pypi/Nevow'
license=('custom')
depends=('python2' 'twisted')
source=( http://pypi.python.org/packages/source/N/Nevow/Nevow-$pkgver.tar.gz )
md5sums=('66dda2ad88f42dea05911add15f4d1b2')

build(){
  cd "$srcdir/Nevow-$pkgver"
  python2 setup.py build
}

package(){
  cd "$srcdir/Nevow-$pkgver"
  python2 setup.py install --prefix=/usr --root="$pkgdir" --install-data=/usr/share/"$pkgname"
  install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}