void-packages/srcpkgs/python-pygame/template
Alessio Sergi 1e509f3db4 python-pygame: switch to python2-module
Small clean up while I'm here.
2016-10-17 00:30:49 +02:00

21 lines
722 B
Bash

# Template file for 'python-pygame'
pkgname=python-pygame
version=1.9.1
revision=1
wrksrc="pygame-${version}release"
build_style=python2-module
short_desc="Collection of python modules for writing games"
maintainer="Archaeme <normandy@firemail.cc>"
license="LGPL-2.1"
homepage="http://www.pygame.org/"
distfiles="http://www.pygame.org/ftp/pygame-${version}release.tar.gz"
checksum="a26095472ae4be9631e0d5bfb9a52ac57a3a091e45757913128e4a473807d433"
hostmakedepends="python-devel smpeg-devel"
makedepends="python-devel SDL_mixer-devel SDL_image-devel SDL_ttf-devel smpeg-devel v4l-utils-devel"
do_configure() {
python2 config.py -auto
}
post_configure() {
sed -i 's/linux\/videodev.h/libv4l1-videodev.h/g' src/camera.h
}