29 lines
951 B
Bash
29 lines
951 B
Bash
# Template file for 'python-pygame'
|
|
pkgname=python-pygame
|
|
version=1.9.4
|
|
revision=2
|
|
wrksrc="pygame-${version}"
|
|
build_style=python-module
|
|
pycompile_module="pygame"
|
|
hostmakedepends="pkg-config python-setuptools python3-setuptools SDL_mixer-devel
|
|
SDL_image-devel SDL_ttf-devel libjpeg-turbo-devel portmidi-devel"
|
|
makedepends="python-devel python3-devel SDL_mixer-devel SDL_image-devel
|
|
SDL_ttf-devel libjpeg-turbo-devel portmidi-devel"
|
|
short_desc="Collection of Python modules for writing games (Python2)"
|
|
maintainer="Archaeme <normandy@firemail.cc>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://www.pygame.org/"
|
|
distfiles="${PYPI_SITE}/p/pygame/pygame-${version}.tar.gz"
|
|
checksum=700d1781c999af25d11bfd1f3e158ebb660f72ebccb2040ecafe5069d0b2c0b6
|
|
|
|
export PORTMIDI_INC_PORTTIME=1
|
|
|
|
python3-pygame_package() {
|
|
pycompile_module="pygame"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vmove usr/include/python3*
|
|
}
|
|
}
|