diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-07-27 04:38:18 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-07-27 04:46:41 -0300 |
commit | 3f7b175bed87105821e1819ad33d5516a38c1513 (patch) | |
tree | bef37c1d728a34e7f1c4a0fd201fe29e76a1d4f3 | |
parent | 9379e864053450b836a6e5dfd168aa87038b4554 (diff) | |
download | abslibre-3f7b175bed87105821e1819ad33d5516a38c1513.tar.gz abslibre-3f7b175bed87105821e1819ad33d5516a38c1513.tar.bz2 abslibre-3f7b175bed87105821e1819ad33d5516a38c1513.zip |
add python-pygame to [pcr]
-rw-r--r-- | pcr/python-pygame/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/python-pygame/PKGBUILD b/pcr/python-pygame/PKGBUILD new file mode 100644 index 000000000..f2d973084 --- /dev/null +++ b/pcr/python-pygame/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Maxime Gauduin <alucryd@archlinux.org> +# Contributor: Cravix <dr.neemous@gmail.com> + +pkgname=python-pygame-sdl2 +pkgver=6.99.8 +pkgrel=1 +pkgdesc='Reimplementation of portions of the pygame API using SDL2' +arch=('i686' 'x86_64') +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') + +build() { + cd pygame-sdl2-for-renpy-${pkgver} + + python setup.py build +} + +package() { + cd pygame-sdl2-for-renpy-${pkgver} + + python setup.py install --root="${pkgdir}" --prefix='/usr' --optimize='1' + + install -dm 755 "${pkgdir}"/usr/share/licenses/python-pygame-sdl2 + install -m 644 COPYING.ZLIB "${pkgdir}"/usr/share/licenses/python-pygame-sdl2/ +} + +# vim: ts=2 sw=2 et: |