summaryrefslogtreecommitdiff
path: root/community/python-sfml/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-08 00:07:33 -0700
committerroot <root@rshg054.dnsready.net>2013-06-08 00:07:33 -0700
commite90166c70f3a2bd27d8c914491f7e0510855fd3f (patch)
treec0ec802e40354cae1e19532f4dc5e16713d869df /community/python-sfml/PKGBUILD
parent0312a836fd7650702bd6667fee9e949b585126d8 (diff)
Sat Jun 8 00:07:33 PDT 2013
Diffstat (limited to 'community/python-sfml/PKGBUILD')
-rw-r--r--community/python-sfml/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/python-sfml/PKGBUILD b/community/python-sfml/PKGBUILD
new file mode 100644
index 000000000..d38c21200
--- /dev/null
+++ b/community/python-sfml/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+pkgname=python-sfml
+pkgver=1.3
+pkgrel=1
+pkgdesc="The unofficial Python binding for SFML"
+arch=('i686' 'x86_64')
+url="http://python-sfml.org"
+license=('LGPL')
+depends=('sfml' 'python')
+makedepends=('cython' 'git')
+source=("git://github.com/Sonkun/python-sfml.git#tag=v${pkgver}")
+md5sums=("SKIP")
+
+build() {
+ cd "$srcdir"/python-sfml
+
+ python setup.py build_ext
+}
+
+package() {
+ cd "$srcdir"/python-sfml
+
+ python setup.py install --root="${pkgdir}" --prefix=/usr
+
+ # Copying the License file
+ install -D -m644 "$srcdir/python-sfml/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}