diff options
author | Philipp A | 2019-03-07 11:25:47 +0100 |
---|---|---|
committer | Philipp A | 2019-03-07 11:25:47 +0100 |
commit | c15e63ba20a0ea8d3fec160d557381d2b442b5fd (patch) | |
tree | da06248b609bf50e274928e325ee1774221b75fd /PKGBUILD | |
parent | dccd215f639af8a2c1627ca52433f9e835dd22ea (diff) | |
download | aur-c15e63ba20a0ea8d3fec160d557381d2b442b5fd.tar.gz |
v1.2.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -1,14 +1,14 @@ _name=pyjnius pkgbase=python-$_name pkgname=(python2-$_name python-$_name) -pkgver=1.1.3 +pkgver=1.2.0 pkgrel=1 pkgdesc='Python module to access Java class as Python class, using JNI.' arch=(any) url="https://github.com/kivy/$_name" license=(MIT) -source=("$_name-$pkgver.tar.gz::https://github.com/kivy/$_name/tarball/$pkgver") -sha256sums=('f497c1f48bbf57ab1cad5c63cfabbd30585d471d87a7307f35b3a3e4fc0b99df') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('9ff35438d6f6774d7d6fb0632587e45d5dd3d4ecb1d3a3bef31a3e31de1709d0') makedepends=( cython python-setuptools cython2 python2-setuptools @@ -16,10 +16,7 @@ makedepends=( prepare() { rm -rf "$srcdir"/python{,2}-"$_name-$pkgver" - # root directory of tar is (e.g.) kivy-pyjnius-a7e791a - mv kivy-pyjnius-* "$srcdir/python-$_name-$pkgver" - # They want to install their setup script, wtf? - sed -i "s/, 'setup'//" "$srcdir/python-$_name-$pkgver/setup_sdist.py" + mv "$srcdir/$_name-$pkgver" "$srcdir/python-$_name-$pkgver" cp -a "$srcdir"/python{,2}-"$_name-$pkgver" } |