summaryrefslogtreecommitdiffstats
path: root/main/py-twisted-words/APKBUILD
blob: 7ee6e5ba33f3f95d4dc134c55a1a3fa79e678684 (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
# Contributor: Jeff Bilyk <jbilyk@alpinelinux.org>
# Maintainer:
pkgname=py-twisted-words
_pkgname=TwistedWords
pkgver=13.1.0
pkgrel=0
pkgdesc="Python Twisted Words library"
url="http://twistedmatrix.com/trac/wiki/TwistedWords"
arch="noarch"
license="MIT"
depends="py-twisted"
makedepends="python-dev"
source="http://twistedmatrix.com/Releases/Words/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="896ca3ae55db1ed026d28921d0388fad  TwistedWords-13.1.0.tar.bz2"
sha256sums="114641e867205cf8957e566e8a0b58dada50ff399b8f8ba6c4cfea681a2d7c94  TwistedWords-13.1.0.tar.bz2"
sha512sums="a7a8bedb08d46f2e1d746596a8c4b08f675ae3409de377f4bc2adf2192a31be4e1c20f4f10e7b5e3216ccb13f1967940ba5f49c28decde1882dfc7ceecc08d35  TwistedWords-13.1.0.tar.bz2"