summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1eee382112b3cc51fe1a8b96f7305e7c67c0b282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Fredy GarcĂ­a <frealgagu at gmail dot com>
# Contributor: feuri <padfoot at exemail dot com dot au>
# Contributor: feuri <mail at feuri dot de>

pkgname=python-pysdl2
pkgver=0.9.6
pkgrel=3
pkgdesc="Python ctypes wrapper around SDL2"
arch=("any")
url="https://github.com/marcusva/${pkgname/python-py/py-}"
license=("https://github.com/marcusva/${pkgname/python-py/py-}/blob/master/doc/copying.rst")
depends=("python" "sdl2")
optdepends=("sdl2_gfx" "sdl2_image" "sdl2_mixer" "sdl2_ttf")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/marcusva/${pkgname/python-py/py-}/archive/rel_${pkgver//./_}.tar.gz")
sha256sums=("50e137cc6078d20d59c7a79883a684a02cbeaa583c9f43ac6bfbcca364236f97")

package() {
  cd "${pkgname/python-py/py-}-rel_${pkgver//./_}"
  python setup.py install --root="${pkgdir}"
  install -Dm644 "doc/copying.rst" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}