diff --git a/srcpkgs/foobillard++/template b/srcpkgs/foobillard++/template index 785f7df16e7..40022a5d3cb 100644 --- a/srcpkgs/foobillard++/template +++ b/srcpkgs/foobillard++/template @@ -1,8 +1,9 @@ # Template file for 'foobillard' pkgname=foobillard++ version=3.41beta -revision=5 +revision=6 wrksrc=foobillardplus-${version} +build_style=gnu-configure homepage="http://foobillardplus.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/foobillardplus/foobillardplus-$version.tar.gz" makedepends="freetype-devel libpng-devel>=1.6 MesaLib-devel SDL_net-devel desktop-file-utils" @@ -11,21 +12,13 @@ short_desc="An OpenGL billard game - fork of foobillard" maintainer="Juan RP " license="GPL-2" checksum=e69218d4458c2c769396d7e8583e7309b719f8a15e9965940cf8aec2aaeca69a -long_desc=" - It is not a new game, but an enhanced version of the great foobillard - 3.0a by Florian Berger." -do_configure() { +pre_configure() { sed -i 's|$prefix/foobillardplus|$prefix|' configure sed -i 's|$prefix/data|$prefix/share/foobillardplus|' configure sed -i 's|"/data"|"/share/foobillardplus"|' src/language.c sed -i 's|/opt/foobillardplus/bin/||' foobillardplus.desktop sed -i 's|/opt/foobillardplus/||' foobillardplus.desktop - ./configure ${configure_args} -} - -do_build() { - make ${makejobs} } do_install() {