summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d73f66faac272b34e2e7bf576f03883d542ac83c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Lari Tikkanen <lartza@wippies.com>

pkgname=python-namedlist
pkgver=1.7
pkgrel=2
pkgdesc="Like namedtuples, but mutable"
arch=(any)
url="http://pypi.python.org/pypi/namedlist"
license=('Apache')
depends=('python')
source=("https://pypi.python.org/packages/source/n/namedlist/namedlist-$pkgver.tar.gz")
md5sums=('91932e6797b13df64bffcec4b5c810a3')

build() {
  cd "$srcdir/namedlist-$pkgver"
  python setup.py build
}

package() {
  cd "$srcdir/namedlist-$pkgver"
  python setup.py install --root=$pkgdir --optimize=1
}