blob: 4360444170ba045b37ad5c17cd271930a3879ab0 (
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=4
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
# Copy the license file
install -D -m644 "$srcdir/python-sfml/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|