diff options
author | Shackra Sislock <none@none> | 2012-08-14 01:04:41 -0600 |
---|---|---|
committer | Shackra Sislock <none@none> | 2012-08-14 01:04:41 -0600 |
commit | 0043569b48b653f48c7023e5d38801f99f263e2c (patch) | |
tree | dfdb62d598fc24e9f2743bfc9da4d116db222836 /pcr | |
parent | 62e6bdfc5ff705d92cb0211131d7c20cca4d9a47 (diff) | |
download | abslibre-0043569b48b653f48c7023e5d38801f99f263e2c.tar.gz abslibre-0043569b48b653f48c7023e5d38801f99f263e2c.tar.bz2 abslibre-0043569b48b653f48c7023e5d38801f99f263e2c.zip |
updating python2?-sfml2
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/python-sfml2/PKGBUILD | 4 | ||||
-rw-r--r-- | pcr/python2-sfml2/PKGBUILD | 15 |
2 files changed, 10 insertions, 9 deletions
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 <jorgean@lavabit.com> 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 <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" |