mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
15 lines
365 B
Plaintext
15 lines
365 B
Plaintext
# description : Python ctypes wrapper around SDL2
|
|
# homepage : https://github.com/py-sdl/py-sdl2
|
|
# depends : sdl2 python3-setuptools
|
|
|
|
name=python3-pysdl2
|
|
version=0.9.16
|
|
release=1
|
|
source="$name-$version.tar.gz::https://github.com/py-sdl/py-sdl2/archive/refs/tags/$version.tar.gz"
|
|
|
|
build() {
|
|
cd py-sdl2-$version
|
|
|
|
python3 setup.py install --root=$PKG --optimize=1
|
|
}
|