summaryrefslogtreecommitdiff
path: root/pcr/python-pygame-hg/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-11 21:35:08 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-11 21:35:08 -0300
commit345b8c4070212e489cfc754155bc8dfea4db17b3 (patch)
treead081c796dc4926227ce9b536266fe7c354b9d54 /pcr/python-pygame-hg/PKGBUILD
parent5b032464a13505085ad85bcc646b5181c11c6bf1 (diff)
downloadabslibre-345b8c4070212e489cfc754155bc8dfea4db17b3.tar.gz
abslibre-345b8c4070212e489cfc754155bc8dfea4db17b3.tar.bz2
abslibre-345b8c4070212e489cfc754155bc8dfea4db17b3.zip
mv aqsis,blender-addon-ogre,cambozola,cinepaint-lts,collada-dom,gimp-art,gimp-pcr,mednafen-server,mitsuba,nexuiz,nexuiz-data,noip,openssh-knock,python-pygame-hg,supermodel,systemd-knock,tupi,xcftools,yafaray,zoneminder to ssh://git@projects.parabola.nu/~git/pcr.git
Diffstat (limited to 'pcr/python-pygame-hg/PKGBUILD')
-rw-r--r--pcr/python-pygame-hg/PKGBUILD72
1 files changed, 0 insertions, 72 deletions
diff --git a/pcr/python-pygame-hg/PKGBUILD b/pcr/python-pygame-hg/PKGBUILD
deleted file mode 100644
index a0c2773ca..000000000
--- a/pcr/python-pygame-hg/PKGBUILD
+++ /dev/null
@@ -1,72 +0,0 @@
-# Maintainer: Márcio Silva <coadde@parabola.nu>
-
-_pkgname=pygame
-_pkgver=1.9.2
-_pyname=python
-_py3ver=3.3
-_py2ver=2.7
-_pkg3name=$_pyname-$_pkgname
-_pkg2name=${_pyname}2-$_pkgname
-_srcver=pre.d$(LC_ALL=C date -u +%Y%m%d)
-
-pkgbase=$_pyname-$_pkgname
-pkgname=(
- $_pkg3name-hg
- $_pkg2name-hg
-)
-pkgver=$_pkgver$_srcver
-pkgrel=1
-pkgdesc="${_pyname^} game library"
-arch=(
- mips64el
- x86_64
- i686
-)
-url=http://www.$_pkgname.org/
-license=LGPL2.1
-depends=(
- ffmpeg
- portmidi
- python
- python2
- #sdl_gfx
- sdl_image
- sdl_mixer
- sdl_ttf
-)
-makedepends=mercurial
-source=hg+https://bitbucket.org/$_pkgname/$_pkgname
-sha512sums=SKIP
-
-package_python-pygame-hg() {
- # disabled, due which conflicts with $_pkg2name
- #provides=("$_pkg3name=$_pkgver")
- #conflicts=$_pkg3name
-
- cd $_pkgname
-
- msg Building
- find . -type f -exec sed -i "s|/usr/bin/env ${_pyname}2|/usr/bin/env $_pyname|" {} +
- $_pyname config.py -auto
- $_pyname setup.py install --root=$pkgdir --prefix=/usr
-
- msg 'Copying the examples and tests'
- cp -va examples lib/* $pkgdir/usr/lib/$_pyname$_py3ver/site-packages/$_pkgname
- cp -va test/* $pkgdir/usr/lib/$_pyname$_py3ver/site-packages/$_pkgname/tests
-}
-
-package_python2-pygame-hg() {
- provides=("$_pkg2name=$_pkgver")
- conflicts=$_pkg2name
-
- cd $_pkgname
-
- msg Building
- find . -type f -exec sed -i "s|/usr/bin/env $_pyname|/usr/bin/env ${_pyname}2|" {} +
- ${_pyname}2 config.py -auto
- ${_pyname}2 setup.py install --root=$pkgdir --prefix=/usr
-
- msg 'Copying the examples and tests'
- cp -va examples lib/* $pkgdir/usr/lib/$_pyname$_py2ver/site-packages/$_pkgname
- cp -va test/* $pkgdir/usr/lib/$_pyname$_py2ver/site-packages/$_pkgname/tests
-}