# Maintainer: Fredy GarcĂ­a # Contributor: feuri # Contributor: feuri pkgname=python-pysdl2 pkgver=0.9.17 pkgrel=1 pkgdesc="Python ctypes wrapper around SDL2" arch=("any") url="https://github.com/marcusva/${pkgname/python-py/py-}" license=("custom:CC0") depends=("python-setuptools" "sdl2") optdepends=("sdl2_gfx" "sdl2_image" "sdl2_mixer" "sdl2_ttf") source=("${pkgname}-${pkgver}.tar.gz::https://github.com/marcusva/${pkgname/python-py/py-}/archive/refs/tags/${pkgver}.tar.gz") sha256sums=('f3ae2232075271d997502f6c90a0c41778296248d86b6780623dc3d88efdde0f') package() { cd "${srcdir}/${pkgname/python-py/py-}-${pkgver}" python setup.py install --root="${pkgdir}" install -Dm644 "${srcdir}/${pkgname/python-py/py-}-${pkgver}/doc/copying.rst" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }