2009-12-24 05:09:17 +01:00
|
|
|
# Template file for 'neverball'
|
|
|
|
pkgname=neverball
|
2014-05-23 08:48:21 +02:00
|
|
|
version=1.6.0
|
|
|
|
revision=1
|
|
|
|
makedepends="libpng-devel>=1.6 libjpeg-turbo-devel libvorbis-devel SDL2_ttf-devel physfs-devel desktop-file-utils"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="desktop-file-utils"
|
2009-12-24 05:09:17 +01:00
|
|
|
short_desc="Puzzle/action game similar to Super Monkey Ball"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-06-06 13:26:25 +02:00
|
|
|
homepage="http://www.neverball.org"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
|
2014-05-23 08:48:21 +02:00
|
|
|
checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
|
2009-12-24 05:09:17 +01:00
|
|
|
|
2012-06-06 13:26:25 +02:00
|
|
|
do_build() {
|
2014-05-23 08:48:21 +02:00
|
|
|
make ${makejobs} ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale
|
2010-01-16 03:44:39 +01:00
|
|
|
}
|
|
|
|
|
2012-06-06 13:26:25 +02:00
|
|
|
do_install() {
|
2009-12-24 05:09:17 +01:00
|
|
|
for dir in usr/bin usr/share/neverball usr/share/locale \
|
|
|
|
usr/share/applications usr/share/pixmaps \
|
|
|
|
usr/share/doc/neverball; do
|
2014-05-23 08:48:21 +02:00
|
|
|
vmkdir ${dir}
|
2009-12-24 05:09:17 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
for f in neverball neverputt mapc; do
|
2011-07-20 11:34:27 +02:00
|
|
|
install -m755 ${f} ${DESTDIR}/usr/bin
|
2009-12-24 05:09:17 +01:00
|
|
|
done
|
|
|
|
|
2011-07-20 11:34:27 +02:00
|
|
|
cp -a data/* ${DESTDIR}/usr/share/neverball
|
2009-12-24 05:09:17 +01:00
|
|
|
find ${DESTDIR}/usr/share/neverball -type f -exec chmod 0644 {} \;
|
2011-07-20 11:34:27 +02:00
|
|
|
cp -a locale/* ${DESTDIR}/usr/share/locale
|
2009-12-24 05:09:17 +01:00
|
|
|
|
2011-07-20 11:34:27 +02: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 05:09:17 +01:00
|
|
|
|
2014-05-23 08:48:21 +02:00
|
|
|
install -m644 doc/manual.txt ${DESTDIR}/usr/share/doc/neverball
|
2011-07-20 11:34:27 +02:00
|
|
|
install -D -m644 dist/mapc.1 ${DESTDIR}/usr/share/man/man1/mapc.1
|
2014-05-23 08:48:21 +02:00
|
|
|
vmkdir usr/share/man/man6
|
2011-07-20 11:34:27 +02:00
|
|
|
install -m644 dist/*.6 ${DESTDIR}/usr/share/man/man6
|
2009-12-24 05:09:17 +01:00
|
|
|
}
|