From d27cb379b9be4b1deb51cbbb669cedd0138e1cdc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 5 Sep 2015 10:36:34 +0200 Subject: [PATCH] vdrift: switch to build_style=scons. --- srcpkgs/vdrift/template | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/srcpkgs/vdrift/template b/srcpkgs/vdrift/template index 928789623dd..2ea9c224204 100644 --- a/srcpkgs/vdrift/template +++ b/srcpkgs/vdrift/template @@ -1,8 +1,11 @@ # Template file for 'vdrift' pkgname=vdrift version=2014.10.20 -revision=2 +revision=3 wrksrc="${pkgname}" +build_style=scons +make_build_args="release=1 force_feedback=1 extbullet=1 datadir=share/$pkgname" +make_install_args="${make_build_args}" hostmakedepends="pkg-config scons" makedepends="asio libcurl-devel bullet-devel SDL2_image-devel glew-devel libvorbis-devel libarchive-devel MesaLib-devel" @@ -14,12 +17,7 @@ homepage="http://vdrift.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version//./-}.tar.bz2" checksum=458d45d59075c2ce943ec6bc271a5bd0eb6bc6ed123670b65038703345020be3 -do_build() { - scons ${makejobs} destdir=${DESTDIR} release=1 force_feedback=1 \ - prefix=/usr datadir=share/$pkgname extbullet=1 -} -do_install() { - scons install +post_install() { # install .desktop file vinstall $pkgname.desktop 644 usr/share/applications sed -i '1 s/^\xef\xbb\xbf//' \