35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# 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
|
|
}
|