28 lines
951 B
Bash
28 lines
951 B
Bash
# Template file for 'python-pygame'
|
|
pkgname=python-pygame
|
|
version=1.9.6
|
|
revision=1
|
|
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=301c6428c0880ecd4a9e3951b80e539c33863b6ff356a443db1758de4f297957
|
|
|
|
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*
|
|
}
|
|
}
|