summaryrefslogtreecommitdiff
path: root/pcr/python2-pysfml2-git
diff options
context:
space:
mode:
authorShackra Sislock <none@none>2012-08-13 16:37:51 -0600
committerShackra Sislock <none@none>2012-08-13 16:37:51 -0600
commit27996ae3144b7cfec2767b548d96de644dc4d86f (patch)
tree6e6c481aed97aaa122b1bfd26d6d720a298d2940 /pcr/python2-pysfml2-git
parentf8556f42f54505c0b52eed97bedebf12c9e9df68 (diff)
adding better bindings of SFML for python2 and python3 (yes, the version provided by Jonathan De Wachter)
--HG-- rename : pcr/python2-pysfml2/PKGBUILD => pcr/python-sfml2/PKGBUILD rename : pcr/python2-pysfml2/PKGBUILD => pcr/python2-sfml2/PKGBUILD
Diffstat (limited to 'pcr/python2-pysfml2-git')
-rw-r--r--pcr/python2-pysfml2-git/PKGBUILD50
1 files changed, 0 insertions, 50 deletions
diff --git a/pcr/python2-pysfml2-git/PKGBUILD b/pcr/python2-pysfml2-git/PKGBUILD
deleted file mode 100644
index 78df1e503..000000000
--- a/pcr/python2-pysfml2-git/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Maintainer: Philippe Huerlimann <phihue@gmail.com>
-# Contributor: Jorge Araya Navarro <jorgean@lavabit.com>
-pkgname=python2-pysfml2-git
-pkgver=20120812
-pkgrel=3
-pkgdesc="A Python 2 binding for SFML 2, written with Cython."
-arch=('i686' 'x86_64')
-url="http://pysfml2-cython.readthedocs.org/"
-license=('BSD')
-depends=('sfml' 'python2')
-makedepends=('sfml' 'cython2' 'git')
-conflicts=('python2-pysfml2-git')
-_gitroot='https://github.com/bastienleonard/pysfml2-cython.git'
-_gitname='pysfml2-cython'
-
-build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [ -d $_gitname ] ; then
- cd $_gitname && git pull origin
- msg "The local files are updated."
- else
- git clone $_gitroot $_gitname
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting make..."
-
- rm -rf "$srcdir/$_gitname-build"
- cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
- cd "$srcdir/$_gitname-build"
- git checkout rc-compatible
-
- python2 setup.py build
-}
-
-package() {
- cd "$srcdir/$_gitname-build"
- python2 setup.py install --root="${pkgdir}" --prefix=/usr
-
- # Copying the examples
- cp -R examples "${pkgdir}/usr/lib/python2.7/site-packages/pysfml"
-
- # Copying the License file
- install -D -m644 "$srcdir/$_gitname-build/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
- # Fixing permissions
- chmod 644 "${pkgdir}"/usr/lib/python2.7/site-packages/sfml.so
-}