summaryrefslogtreecommitdiff
path: root/pcr/nevow/PKGBUILD
blob: 01b14d5f9d9976b8ca9b33c7aa4901a5a96011d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
# Contributor (Arch): Nicolas Pouillard <nicolas.pouillard@gmail.com>
# Contributor (Arch): Peter Simons <simons@cryp.to>

pkgname=nevow
pkgver=0.14.2
pkgrel=2.1
pkgdesc="web application construction kit written in Python"
arch=('any')
url='http://pypi.python.org/pypi/Nevow'
license=('custom')
makedepends=('python2-setuptools')
depends=('python2' 'python2-twisted')

source=("https://pypi.python.org/packages/d1/7b/fb5906c29c2397177e7df12febcd8049610258c97add082131779d0bf49a/Nevow-${pkgver}.tar.gz")
sha512sums=('6b21e4471fbbe76bf2a64975ed2a04413d059d9a50ca89247d48db9436a9a5e747aa373921310f4a53120466d8033377f85cbea3af14a50b1297d85391d6474a')

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"
}