summaryrefslogtreecommitdiff
path: root/pcr/python2-sfml2
diff options
context:
space:
mode:
authorShackra Sislock <none@none>2012-08-14 01:04:41 -0600
committerShackra Sislock <none@none>2012-08-14 01:04:41 -0600
commit0043569b48b653f48c7023e5d38801f99f263e2c (patch)
treedfdb62d598fc24e9f2743bfc9da4d116db222836 /pcr/python2-sfml2
parent62e6bdfc5ff705d92cb0211131d7c20cca4d9a47 (diff)
updating python2?-sfml2
Diffstat (limited to 'pcr/python2-sfml2')
-rw-r--r--pcr/python2-sfml2/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/pcr/python2-sfml2/PKGBUILD b/pcr/python2-sfml2/PKGBUILD
index 4832f73f4..263097e50 100644
--- a/pcr/python2-sfml2/PKGBUILD
+++ b/pcr/python2-sfml2/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
pkgname=python2-sfml2
pkgver=1.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="A Python 2 binding for SFML 2, written with Cython."
arch=('i686' 'x86_64')
url="http://openhelbreath.net/python-sfml2"
@@ -23,13 +23,12 @@ package() {
# Copying the examples
install -d -m755 "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples"
- install -d -m755 "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/spacial_music"
- install -d -m755 "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/pyqt4"
- install -d -m755 "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/sound"
-
- cp -R examples/spacial_music "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/spacial_music"
- cp -R examples/pyqt4 "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/pyqt4"
- cp -R examples/sound "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/sound"
+
+ 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
install -D -m644 "$srcdir/pysfml2-$pkgver/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"