summaryrefslogtreecommitdiff
path: root/community/python-sfml
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/python-sfml
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/python-sfml')
-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"
+}