blob: a4604978291206444a804288aa2a68e0c249825c (
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: feuri <padfoot at exemail dot com dot au>
# Contributor: feuri <mail at feuri dot de>
pkgname=python-pysdl2
pkgver=0.9.5
pkgrel=1
pkgdesc="A Python wrapper around the SDL2 library"
arch=('i686' 'x86_64')
url="https://bitbucket.org/marcusva/py-sdl2/overview"
license=('custom:CC0')
depends=('python' 'sdl2')
optdepends=('sdl2_gfx' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf')
source=("https://bitbucket.org/marcusva/py-sdl2/downloads/PySDL2-$pkgver.tar.gz")
sha256sums=('500eeef667a12ab2790b9fbf25f24b2e1de3bdc9d0b07fd94112ad486149e276')
build() {
cd PySDL2-$pkgver
python setup.py build
}
package() {
cd PySDL2-$pkgver
python setup.py install --root="$pkgdir"
install -Dm644 doc/copying.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|