blob: d00a770fcf12e735266ab75ec0c51a6312558ca4 (
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
28
|
# Maintainer (AUR): Nicolas Pouillard <nicolas.pouillard@gmail.com>
# Contributor: Peter Simons <simons@cryp.to>
# Maintainer: Freemor <freemor@freemor.ca>
pkgname=nevow
pkgver=0.14.4
pkgrel=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://files.pythonhosted.org/packages/source/n/nevow/Nevow-${pkgver}.tar.gz")
sha256sums=('2299a0d2a0c1312040705599d5d571acfea74df82b968c0b9264f6f45266cf6e')
build(){
cd "$srcdir/Nevow-$pkgver"
python2 setup.py build
}
package(){
cd "$srcdir/Nevow-$pkgver"
python2 setup.py install --prefix=/usr --optimize=1 --skip-build \
--root="$pkgdir" --install-data=/usr/share/"$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|