diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-04-24 20:31:38 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-04-24 20:31:38 -0300 |
commit | f18bc657e1c34d74c14891cd0e8b49d8c084ce01 (patch) | |
tree | 78255cad15af044e103c276579b7837bfc0b67b5 /pcr/python2-sfml2/PKGBUILD | |
parent | eea08a8891870d80df0a2b9c495c584b176a8ec7 (diff) | |
parent | 85d5c48eae849c81f3b0f4ce3f53edd0b72c738a (diff) | |
download | abslibre-f18bc657e1c34d74c14891cd0e8b49d8c084ce01.tar.gz abslibre-f18bc657e1c34d74c14891cd0e8b49d8c084ce01.tar.bz2 abslibre-f18bc657e1c34d74c14891cd0e8b49d8c084ce01.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python2-sfml2/PKGBUILD')
-rw-r--r-- | pcr/python2-sfml2/PKGBUILD | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/pcr/python2-sfml2/PKGBUILD b/pcr/python2-sfml2/PKGBUILD index 263097e50..b612997f3 100644 --- a/pcr/python2-sfml2/PKGBUILD +++ b/pcr/python2-sfml2/PKGBUILD @@ -1,36 +1,40 @@ # Maintainer: Jorge Araya Navarro <jorgean@lavabit.com> pkgname=python2-sfml2 -pkgver=1.1.0 -pkgrel=2 -pkgdesc="A Python 2 binding for SFML 2, written with Cython." +pkgver=1.2 +pkgrel=0 +pkgdesc="Python 2 binding for SFML 2, written with Cython." arch=('i686' 'x86_64') url="http://openhelbreath.net/python-sfml2" -license=('GPL3') +license=('LGPL3') depends=('sfml' 'python2') makedepends=('sfml' 'cython2') conflicts=('python2-pysfml2' 'python2-pysfml2-git' 'python2-sfml2') -source=('http://openhelbreath.net/python-sfml2/downloads/python-sfml2-1.1.tar.gz') +source=('https://github.com/Sonkun/python-sfml/archive/v1.2.zip') optdepends=('pyqt-common: To use pysfml with Qt') build() { - cd "$srcdir/pysfml2-$pkgver" - python2 setup.py build + cd "$srcdir/python-sfml-$pkgver" + python2 setup.py build } package() { - cd "$srcdir/pysfml2-$pkgver" - python2 setup.py install --root="${pkgdir}" --prefix=/usr + cd "$srcdir/python-sfml-$pkgver" + python2 setup.py install --root="${pkgdir}" --prefix=/usr - # Copying the examples + # 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/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" + # 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=('111af2ead2a7c1f2a44145059889ecbb91c08bad21dd18764391b60256b92af1') +sha256sums=('24bf5c29eed525f4e81a43c1700ae37f6582e653fcb7f58ee41144b8cf46ce29') |