From 0043569b48b653f48c7023e5d38801f99f263e2c Mon Sep 17 00:00:00 2001 From: Shackra Sislock Date: Tue, 14 Aug 2012 01:04:41 -0600 Subject: updating python2?-sfml2 --- pcr/python-sfml2/PKGBUILD | 4 +++- pcr/python2-sfml2/PKGBUILD | 15 +++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'pcr') diff --git a/pcr/python-sfml2/PKGBUILD b/pcr/python-sfml2/PKGBUILD index ac6881d2e..48a8e4d30 100644 --- a/pcr/python-sfml2/PKGBUILD +++ b/pcr/python-sfml2/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Jorge Araya Navarro pkgname=python-sfml2 pkgver=1.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="A Python 3 binding for SFML 2, written with Cython." arch=('i686' 'x86_64') url="http://openhelbreath.net/python-sfml2" @@ -24,6 +24,8 @@ package() { # Copying the examples install -d -m755 "${pkgdir}/usr/lib/python3.2/site-packages/sfml/examples" cp -R examples/ "${pkgdir}/usr/lib/python3.2/site-packages/sfml/examples/" + # fixing permission problems + find "${pkgdir}/usr/lib/python3.2/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" 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 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" -- cgit v1.2.3