foobillard++: update to 3.42beta.
This commit is contained in:
parent
5d0f8fee23
commit
20e6cbf299
1 changed files with 7 additions and 6 deletions
|
@ -1,29 +1,30 @@
|
||||||
# Template file for 'foobillard'
|
# Template file for 'foobillard'
|
||||||
pkgname=foobillard++
|
pkgname=foobillard++
|
||||||
version=3.41beta
|
version=3.42beta
|
||||||
revision=6
|
revision=1
|
||||||
wrksrc=foobillardplus-${version}
|
wrksrc=foobillardplus-${version}
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
homepage="http://foobillardplus.sourceforge.net/"
|
homepage="http://foobillardplus.sourceforge.net/"
|
||||||
update_pkgname="foobillardplus"
|
update_pkgname="foobillardplus"
|
||||||
distfiles="${SOURCEFORGE_SITE}/foobillardplus/foobillardplus-$version.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/foobillardplus/foobillardplus-$version.tar.gz"
|
||||||
makedepends="freetype-devel libpng-devel>=1.6 MesaLib-devel SDL_net-devel desktop-file-utils"
|
hostmakedepends="automake pkg-config"
|
||||||
|
makedepends="libICE-devel freetype-devel libpng-devel>=1.6 glu-devel SDL_mixer-devel SDL_net-devel"
|
||||||
depends="desktop-file-utils"
|
depends="desktop-file-utils"
|
||||||
short_desc="An OpenGL billard game - fork of foobillard"
|
short_desc="An OpenGL billard game - fork of foobillard"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
checksum=e69218d4458c2c769396d7e8583e7309b719f8a15e9965940cf8aec2aaeca69a
|
checksum=e276b70674a7d788c45eeff89f1f5db5d48d871a1ab92103813d424a3761e1d9
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
autoreconf -fi
|
||||||
sed -i 's|$prefix/foobillardplus|$prefix|' configure
|
sed -i 's|$prefix/foobillardplus|$prefix|' configure
|
||||||
sed -i 's|$prefix/data|$prefix/share/foobillardplus|' configure
|
sed -i 's|$prefix/data|$prefix/share/foobillardplus|' configure
|
||||||
sed -i 's|"/data"|"/share/foobillardplus"|' src/language.c
|
sed -i 's|"/data"|"/share/foobillardplus"|' src/language.c
|
||||||
sed -i 's|/opt/foobillardplus/bin/||' foobillardplus.desktop
|
sed -i 's|/opt/foobillardplus/bin/||' foobillardplus.desktop
|
||||||
sed -i 's|/opt/foobillardplus/||' foobillardplus.desktop
|
sed -i 's|/opt/foobillardplus/||' foobillardplus.desktop
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vinstall src/foobillardplus 755 usr/bin
|
vbin src/foobillardplus
|
||||||
vmkdir usr/share/foobillardplus
|
vmkdir usr/share/foobillardplus
|
||||||
vcopy "data/*" usr/share/foobillardplus
|
vcopy "data/*" usr/share/foobillardplus
|
||||||
vinstall foobillardplus.desktop 644 usr/share/applications
|
vinstall foobillardplus.desktop 644 usr/share/applications
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue