2009-12-24 04:09:17 +00:00
|
|
|
# Template file for 'neverball'
|
|
|
|
pkgname=neverball
|
|
|
|
version=1.5.4
|
2013-04-30 09:56:42 +00:00
|
|
|
revision=9
|
|
|
|
makedepends="libpng-devel>=1.6 libjpeg-turbo-devel libvorbis-devel
|
2013-03-29 12:36:27 +00:00
|
|
|
SDL_ttf-devel physfs-devel"
|
2009-12-24 04:09:17 +00:00
|
|
|
short_desc="Puzzle/action game similar to Super Monkey Ball"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-06-06 11:26:25 +00:00
|
|
|
homepage="http://www.neverball.org"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
|
2009-12-24 04:09:17 +00:00
|
|
|
checksum=ea31ca9f6eec70c8e66eaa20d7ce9e48295fdb077313b97637c503b16b7b0da6
|
|
|
|
|
2012-06-06 11:26:25 +00:00
|
|
|
do_build() {
|
2012-02-10 08:45:40 +00:00
|
|
|
HOME=/ LANG=C LC_ALL=C LDFLAGS="-lm -lX11" make ${makejobs} \
|
2011-07-20 09:34:27 +00:00
|
|
|
ENABLE_NLS=1 DATADIR=/usr/share/neverball \
|
|
|
|
LOCALEDIR=/usr/share/locale
|
2010-01-16 02:44:39 +00:00
|
|
|
}
|
|
|
|
|
2012-06-06 11:26:25 +00:00
|
|
|
do_install() {
|
2009-12-24 04:09:17 +00:00
|
|
|
for dir in usr/bin usr/share/neverball usr/share/locale \
|
|
|
|
usr/share/applications usr/share/pixmaps \
|
|
|
|
usr/share/doc/neverball; do
|
2011-07-20 09:34:27 +00:00
|
|
|
install -d ${DESTDIR}/${dir}
|
2009-12-24 04:09:17 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
for f in neverball neverputt mapc; do
|
2011-07-20 09:34:27 +00:00
|
|
|
install -m755 ${f} ${DESTDIR}/usr/bin
|
2009-12-24 04:09:17 +00:00
|
|
|
done
|
|
|
|
|
2011-07-20 09:34:27 +00:00
|
|
|
cp -a data/* ${DESTDIR}/usr/share/neverball
|
2009-12-24 04:09:17 +00:00
|
|
|
find ${DESTDIR}/usr/share/neverball -type f -exec chmod 0644 {} \;
|
2011-07-20 09:34:27 +00:00
|
|
|
cp -a locale/* ${DESTDIR}/usr/share/locale
|
2009-12-24 04:09:17 +00:00
|
|
|
|
2011-07-20 09:34:27 +00:00
|
|
|
install -m644 dist/*.desktop ${DESTDIR}/usr/share/applications
|
|
|
|
install -m644 dist/*.png ${DESTDIR}/usr/share/pixmaps
|
|
|
|
ln -s neverball_48.png ${DESTDIR}/usr/share/pixmaps/neverball.png
|
|
|
|
ln -s neverputt_48.png ${DESTDIR}/usr/share/pixmaps/neverputt.png
|
2009-12-24 04:09:17 +00:00
|
|
|
|
2011-07-20 09:34:27 +00:00
|
|
|
install -m644 doc/* ${DESTDIR}/usr/share/doc/neverball
|
|
|
|
install -D -m644 dist/mapc.1 ${DESTDIR}/usr/share/man/man1/mapc.1
|
|
|
|
install -d ${DESTDIR}/usr/share/man/man6
|
|
|
|
install -m644 dist/*.6 ${DESTDIR}/usr/share/man/man6
|
2009-12-24 04:09:17 +00:00
|
|
|
}
|
2013-04-12 17:13:19 +00:00
|
|
|
|
|
|
|
neverball_package() {
|
|
|
|
depends="desktop-file-utils"
|
|
|
|
pkg_install() {
|
2013-04-30 09:56:42 +00:00
|
|
|
vmove all
|
2013-04-12 17:13:19 +00:00
|
|
|
}
|
|
|
|
}
|