summaryrefslogtreecommitdiff
path: root/pcr/python2-sfml2/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-07-06 22:04:31 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-07-06 22:04:31 -0600
commit2967b22c6179ded9cc01496e10dcb0f292d0c182 (patch)
tree9219e7dc564f3dc8af29ea142c4b5d409ea74310 /pcr/python2-sfml2/PKGBUILD
parent55677d14e4829d6a7859333d3560db346c228fdf (diff)
parente84010fb9a6f81d96d9c54661a7abde97a0eb187 (diff)
Merge branch 'master-remote' into master-undelete
Diffstat (limited to 'pcr/python2-sfml2/PKGBUILD')
-rw-r--r--pcr/python2-sfml2/PKGBUILD40
1 files changed, 0 insertions, 40 deletions
diff --git a/pcr/python2-sfml2/PKGBUILD b/pcr/python2-sfml2/PKGBUILD
deleted file mode 100644
index ed5249a25..000000000
--- a/pcr/python2-sfml2/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
-pkgname=python2-sfml2
-pkgver=master
-pkgrel=0
-pkgdesc="Python 2 binding for SFML 2, written with Cython."
-arch=('i686' 'x86_64')
-url="http://python-sfml.org"
-license=('LGPL3')
-depends=('sfml' 'python2')
-makedepends=('sfml' 'cython2')
-conflicts=('python2-pysfml2' 'python2-pysfml2-git' 'python2-sfml2')
-source=('https://github.com/Sonkun/python-sfml/archive/master.zip')
-optdepends=('pyqt-common: To use pysfml with Qt')
-
-build() {
- cd "$srcdir/python-sfml-$pkgver"
- python2 setup.py build
-}
-
-package() {
- cd "$srcdir/python-sfml-$pkgver"
- python2 setup.py install --root="${pkgdir}" --prefix=/usr
-
- # Copying the examples
- install -d -m755 "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples"
-
- cp -R examples/spacial_music "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/"
- cp -R examples/pyqt4 "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/"
- cp -R examples/sound "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/"
-
- find "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/" -iname "*.*" -exec chmod 644 {} +;
-
- # Copying the License file
- LICENSEFILE="${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- if [ ! -e $LICENSEFILE ]
- then
- install -D -m644 "$srcdir/python-sfml-$pkgver/COPYING" $LICENSEFILE
- fi
-}
-sha256sums=('01bb4a07c3100807163cd2ddcb1208794b1dbac19706eabea430e23fbf00414b')