diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2017-03-28 14:25:30 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2017-03-28 14:25:30 -0300 |
commit | c9e0eb37185054e3302fd8d0122217a4923b0abd (patch) | |
tree | 1cad4b7a0152e273c5bbfc321c977f83348cdf94 /pcr | |
parent | cd0f53bf60d69a521c954f7b6e883a7182aec98d (diff) | |
download | abslibre-c9e0eb37185054e3302fd8d0122217a4923b0abd.tar.gz abslibre-c9e0eb37185054e3302fd8d0122217a4923b0abd.tar.bz2 abslibre-c9e0eb37185054e3302fd8d0122217a4923b0abd.zip |
python-pygame-sdl2-1:2.1.0.r328.ce2578c-1: update package
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/python-pygame-sdl2/PKGBUILD | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/pcr/python-pygame-sdl2/PKGBUILD b/pcr/python-pygame-sdl2/PKGBUILD index db9dd98fb..003e06335 100644 --- a/pcr/python-pygame-sdl2/PKGBUILD +++ b/pcr/python-pygame-sdl2/PKGBUILD @@ -3,25 +3,33 @@ # Maintainer: Márcio Silva <coadde@parabola.nu> pkgname=python-pygame-sdl2 -pkgver=6.99.8 +pkgver=2.1.0.r328.ce2578c pkgrel=1 +epoch=1 pkgdesc='Reimplementation of portions of the pygame API using SDL2' arch=('i686' 'x86_64' 'armv7h') url='https://github.com/renpy/pygame_sdl2' license=('LGPL2.1' 'zlib') depends=('python' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf') -makedepends=('cython') -source=("http://www.renpy.org/dl/${pkgver}/pygame_sdl2-for-renpy-${pkgver}.tar.bz2") -sha256sums=('cf6c5acd21af92554c404a24d66af9292f126e10d0d8eea1f7d44432e80b0942') +makedepends=('cython' 'git') +_commit='ce2578cbd5730bdb1950d1a6ea560203b6d610e4' +source=("git+https://github.com/renpy/pygame_sdl2.git#commit=${_commit}") +sha256sums=('SKIP') + +pkgver() { + cd pygame_sdl2 + + echo "2.1.0.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} build() { - cd pygame-sdl2-for-renpy-${pkgver} + cd pygame_sdl2 python setup.py build } package() { - cd pygame-sdl2-for-renpy-${pkgver} + cd pygame_sdl2 python setup.py install --root="${pkgdir}" --prefix='/usr' --optimize='1' |