diff options
-rw-r--r-- | main/py-twisted-words/APKBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/main/py-twisted-words/APKBUILD b/main/py-twisted-words/APKBUILD index c687dcc7fa..60ba0d7b3d 100644 --- a/main/py-twisted-words/APKBUILD +++ b/main/py-twisted-words/APKBUILD @@ -1,9 +1,8 @@ # Contributor: Jeff Bilyk <jbilyk@alpinelinux.org> # Maintainer: - pkgname=py-twisted-words _pkgname=TwistedWords -pkgver=12.0.0 +pkgver=12.3.0 pkgrel=0 pkgdesc="Python Twisted Words library" url="http://twistedmatrix.com/trac/wiki/TwistedWords" @@ -11,12 +10,19 @@ arch="noarch" license="MIT" depends="py-twisted" makedepends="python-dev" -source="http://twistedmatrix.com/Releases/Words/12.0/$_pkgname-$pkgver.tar.bz2" +source="http://twistedmatrix.com/Releases/Words/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2" +_builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$srcdir"/$_pkgname-$pkgver/ - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$_builddir" + python setup.py build || return 1 +} +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } -md5sums="2d88f194022dcd243469460c86ad1b79 TwistedWords-12.0.0.tar.bz2" +md5sums="3146f62e2d4252aa781c4a2fbcae6ea9 TwistedWords-12.3.0.tar.bz2" +sha256sums="e6cd4f197aa698d95c80549d869a397299be2e69b148ac90c839b258b03c0980 TwistedWords-12.3.0.tar.bz2" +sha512sums="270638482e452ed6287818b129b5e22963a29325b5b60aa8b257509e4d4a359ff0f6fa0cacd666d263de52ea9c2a8b33802b2c6ec7f5d50258e961169a2aec69 TwistedWords-12.3.0.tar.bz2" |