summaryrefslogtreecommitdiff
path: root/pcr/python-sfml2/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-25 13:01:23 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-25 13:01:23 -0300
commitf9493ab620982f2c2a379c475e8fd2bae7114b6e (patch)
tree5e2f7992730be405a0dfdb6d8b40f2bca1a52996 /pcr/python-sfml2/PKGBUILD
parent2ed610fdb57e40814f98260c69e7b4d67819a7a7 (diff)
parent9812539755a6a6add00fcf90f52a8a20b0385bfb (diff)
downloadabslibre-f9493ab620982f2c2a379c475e8fd2bae7114b6e.tar.gz
abslibre-f9493ab620982f2c2a379c475e8fd2bae7114b6e.tar.bz2
abslibre-f9493ab620982f2c2a379c475e8fd2bae7114b6e.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python-sfml2/PKGBUILD')
-rw-r--r--pcr/python-sfml2/PKGBUILD32
1 files changed, 18 insertions, 14 deletions
diff --git a/pcr/python-sfml2/PKGBUILD b/pcr/python-sfml2/PKGBUILD
index 48a8e4d30..41df1a9d0 100644
--- a/pcr/python-sfml2/PKGBUILD
+++ b/pcr/python-sfml2/PKGBUILD
@@ -1,33 +1,37 @@
# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
pkgname=python-sfml2
-pkgver=1.1.0
-pkgrel=2
-pkgdesc="A Python 3 binding for SFML 2, written with Cython."
+pkgver=1.2
+pkgrel=0
+pkgdesc="Python 3 binding for SFML 2, written with Cython."
arch=('i686' 'x86_64')
url="http://openhelbreath.net/python-sfml2"
-license=('GPL3')
+license=('LGPL3')
depends=('sfml' 'python3')
makedepends=('sfml' 'cython')
-conflicts=('python-sfml2')
-source=('http://openhelbreath.net/python-sfml2/downloads/python-sfml2-1.1.tar.gz')
+conflicts=('python-sfml2' 'python-pysfml2' 'python-pysfml2-git')
+source=('https://github.com/Sonkun/python-sfml/archive/v1.2.zip')
optdepends=('pyqt: To use pysfml with Qt')
build() {
- cd "$srcdir/pysfml2-$pkgver"
- python3 setup.py build
+ cd "$srcdir/python-sfml-$pkgver"
+ python3 setup.py build
}
package() {
- cd "$srcdir/pysfml2-$pkgver"
- python3 setup.py install --root="${pkgdir}" --prefix=/usr
+ cd "$srcdir/python-sfml-$pkgver"
+ python3 setup.py install --root="${pkgdir}" --prefix=/usr
- # Copying the examples
+ # 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"
+ # 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')