summaryrefslogtreecommitdiff
path: root/community/python-sfml/PKGBUILD
blob: d334ded2e168439ba2a1c6c95b24a40fe74283fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=python-sfml
pkgver=1.3
pkgrel=2
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"
}