New package: gnurobbo-0.66
This commit is contained in:
parent
1f8c082133
commit
85dd27b200
2 changed files with 44 additions and 0 deletions
9
srcpkgs/gnurobbo/files/gnurobbo.desktop
Normal file
9
srcpkgs/gnurobbo/files/gnurobbo.desktop
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Comment=Reimplementation of Robbo for Atari XE/XL
|
||||
Exec=gnurobbo
|
||||
Icon=gnurobbo
|
||||
Type=Application
|
||||
Name=GNURobbo
|
||||
GenericName=GNURobbo
|
||||
Categories=Game;ActionGame;LogicGame;
|
||||
|
35
srcpkgs/gnurobbo/template
Normal file
35
srcpkgs/gnurobbo/template
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Template file for 'gnurobbo'
|
||||
pkgname=gnurobbo
|
||||
version=0.66
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="SDL_mixer-devel SDL_image-devel SDL_ttf-devel"
|
||||
short_desc="Reimplementation of Janusz Pelc's Robbo for Atari XE/XL"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="GPL-2"
|
||||
homepage="http://gnurobbo.sourceforge.net/"
|
||||
distfiles="${SOURCEFORGE_SITE}/gnurobbo/gnurobbo/gnurobbo%20${version}/gnurobbo-${version}-source.tar.gz"
|
||||
checksum=54d2418f49e52b8f49631eb93af7789074b628d308a6d26b00cc795ad0b04d89
|
||||
|
||||
pre_build() {
|
||||
sed -i Makefile \
|
||||
-e "s;CFLAGS\?=.*;CFLAGS=${CFLAGS};" \
|
||||
-e "/LIBS=/s;\(.*\);\1 -lm;"
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${makejobs} \
|
||||
BINDIR=/usr/bin \
|
||||
DOCDIR=/usr/share/doc/${pkgname} \
|
||||
PACKAGE_DATA_DIR=/usr/share/${pkgname}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make BINDIR=${DESTDIR}/usr/bin \
|
||||
DOCDIR=${DESTDIR}/usr/share/doc/${pkgname} \
|
||||
PACKAGE_DATA_DIR=${DESTDIR}/usr/share/${pkgname} \
|
||||
install
|
||||
vinstall icon32.png 644 usr/share/pixmaps gnurobbo.png
|
||||
vinstall ${FILESDIR}/gnurobbo.desktop 644 usr/share/applications
|
||||
}
|
Loading…
Reference in a new issue