diff options
Diffstat (limited to 'pcr/python2-sfml2/PKGBUILD')
-rw-r--r-- | pcr/python2-sfml2/PKGBUILD | 15 |
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" |