27 lines
855 B
Bash
27 lines
855 B
Bash
# Template file for 'pingus'
|
|
pkgname=pingus
|
|
version=0.7.6
|
|
revision=6
|
|
build_style=scons
|
|
hostmakedepends="scons pkg-config"
|
|
makedepends="SDL_image-devel SDL_mixer-devel boost-devel libpng-devel libXi-devel zlib-devel"
|
|
short_desc="Free Lemmings-like puzzle game"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://pingus.seul.org/welcome.html"
|
|
distfiles="https://github.com/Pingus/pingus/archive/v${version}.tar.gz"
|
|
checksum=c4cd89e1d350d2472f32de5f6266ac9f3658a3620eace3f79efac45db4323b65
|
|
nocross=yes
|
|
|
|
do_build() {
|
|
# XXX: defining CXXFLAGS breaks dependency detection.
|
|
scons ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
|
|
LINKFLAGS="$LDFLAGS" \
|
|
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR}
|
|
}
|
|
|
|
do_install() {
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
|
vinstall ${FILESDIR}/pingus.desktop 644 usr/share/applications
|
|
}
|