summaryrefslogtreecommitdiff
path: root/pcr/nevow/PKGBUILD
blob: 1d7732d07c924904471e8381fcaee6ea5302b594 (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 (Arch): Nicolas Pouillard <nicolas.pouillard@gmail.com>
# Contributor (Arch): 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"
}