diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -5,36 +5,35 @@ ## Cannot use libtcod as dependency; statically linked pkgname=python-tcod -pkgver=13.2.0 +pkgver=13.3.0 pkgrel=1 pkgdesc='High-performance Python port of libtcod' arch=('x86_64') url='https://github.com/libtcod/python-tcod' license=('BSD') -depends=('python-cffi' 'python-numpy' 'python-typing_extensions') +depends=('python-cffi' 'python-numpy' 'python-typing_extensions' 'sdl2') makedepends=( 'git' 'python-setuptools' 'python-pytest-runner' 'python-pycparser' - 'python-sphinx' - 'sdl2') -changelog=CHANGELOG.rst -source=("$pkgname-$pkgver::git+$url#tag=$pkgver?signed" - 'libtcod::git+https://github.com/libtcod/libtcod#tag=1.20.0?signed') + 'python-sphinx') +changelog=CHANGELOG.md +source=("$pkgname::git+$url#tag=$pkgver?signed" + 'libtcod::git+https://github.com/libtcod/libtcod#tag=1.20.1?signed') sha256sums=('SKIP' 'SKIP') validpgpkeys=('9EF1E80F3817BC043097A7C15814977902B194CC') # Kyle Benesch @ GitHub prepare() { - cd "$pkgname-$pkgver" + cd "$pkgname" git submodule init git config submodule.libtcod.url "$srcdir/libtcod" git submodule update } build() { - cd "$pkgname-$pkgver" + cd "$pkgname" python setup.py build cd docs make man @@ -47,7 +46,7 @@ build() { # } package() { - cd "$pkgname-$pkgver" + cd "$pkgname" PYTHONHASHSEED=0 python setup.py install --root="$pkgdir/" --optimize=1 --skip-build install -Dm644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/" install -Dm644 docs/_build/man/python-tcod.1 -t "$pkgdir/usr/share/man/man1/" |