diff --git a/srcpkgs/python-pygame/template b/srcpkgs/python-pygame/template index de061ec9ec..c1f61d4723 100644 --- a/srcpkgs/python-pygame/template +++ b/srcpkgs/python-pygame/template @@ -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 " 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 }