summaryrefslogtreecommitdiff
path: root/community-testing/pysfml
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community-testing/pysfml
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community-testing/pysfml')
-rw-r--r--community-testing/pysfml/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community-testing/pysfml/PKGBUILD b/community-testing/pysfml/PKGBUILD
new file mode 100644
index 000000000..204197c1b
--- /dev/null
+++ b/community-testing/pysfml/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 29367 2010-10-13 15:58:47Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: scj <scj(at)archlinux(dot)us>
+
+pkgname=('python-pysfml' 'python2-pysfml')
+pkgbase=python-pysfml
+pkgver=1.6
+pkgrel=2
+pkgdesc="Python bindings for the SFML library"
+arch=('i686' 'x86_64')
+url="http://www.sfml-dev.org"
+makedepends=('sfml' 'python' 'python2')
+license=('zlib')
+depends=()
+replaces=('pysfml')
+source=(http://downloads.sourceforge.net/sfml/SFML-${pkgver}-python-sdk.zip)
+md5sums=('9acaf793ae9a498a51f7f6fc74307b32')
+
+build() {
+ cd "${srcdir}/SFML-${pkgver}/python"
+}
+
+package_python-pysfml() {
+ depends=('sfml' 'python')
+
+ cd "${srcdir}/SFML-${pkgver}/python"
+
+ python3 setup.py install --root=${pkgdir}
+}
+
+package_python2-pysfml() {
+ depends=('sfml' 'python2')
+
+ cd "${srcdir}/SFML-${pkgver}/python"
+
+ python2 setup.py install --root=${pkgdir}
+}
+
+# vim:set ts=2 sw=2 et: