python-pygame: switch to python2-module
Small clean up while I'm here.
This commit is contained in:
parent
590ad334bb
commit
1e509f3db4
1 changed files with 5 additions and 7 deletions
|
@ -1,10 +1,9 @@
|
|||
# Template file for 'python-pygame'
|
||||
|
||||
pkgname="python-pygame"
|
||||
version="1.9.1"
|
||||
pkgname=python-pygame
|
||||
version=1.9.1
|
||||
revision=1
|
||||
wrksrc="pygame-${version}release"
|
||||
build_style=python-module
|
||||
build_style=python2-module
|
||||
short_desc="Collection of python modules for writing games"
|
||||
maintainer="Archaeme <normandy@firemail.cc>"
|
||||
license="LGPL-2.1"
|
||||
|
@ -15,9 +14,8 @@ hostmakedepends="python-devel smpeg-devel"
|
|||
makedepends="python-devel SDL_mixer-devel SDL_image-devel SDL_ttf-devel smpeg-devel v4l-utils-devel"
|
||||
|
||||
do_configure() {
|
||||
python config.py -auto
|
||||
python2 config.py -auto
|
||||
}
|
||||
|
||||
post_configure() {
|
||||
sed -i 's/linux\/videodev.h/libv4l1-videodev.h/g' ${wrksrc}/src/camera.h
|
||||
sed -i 's/linux\/videodev.h/libv4l1-videodev.h/g' src/camera.h
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue