2013-07-03 13:46:36 +00:00
|
|
|
# Template file for 'opensonic'
|
|
|
|
pkgname=opensonic
|
|
|
|
version=0.1.4
|
2014-12-18 20:39:37 +00:00
|
|
|
revision=4
|
2014-01-01 15:10:11 +00:00
|
|
|
wrksrc="opensnc-src-${version}"
|
2013-07-03 13:46:36 +00:00
|
|
|
hostmakedepends="cmake"
|
2014-12-18 20:39:37 +00:00
|
|
|
makedepends="allegro4-devel libpng-devel libvorbis-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="desktop-file-utils"
|
2013-07-03 13:46:36 +00:00
|
|
|
short_desc="Open-source game based on the Sonic the Hedgehog universe"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://opensnc.sourceforge.net/"
|
2014-06-22 06:27:24 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/opensnc/opensnc-src-${version}.tar.gz"
|
2013-07-03 13:46:36 +00:00
|
|
|
checksum=3a4c3fa9538ee27c04b5ea848c9ad0a83f335471936d4617a18d3648c42588e9
|
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
unset LDFLAGS
|
|
|
|
./configure --prefix=/usr
|
|
|
|
}
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
vinstall icon.png 644 usr/share/${pkgname}
|
2013-07-03 13:58:41 +00:00
|
|
|
vinstall ${FILESDIR}/opensonic.sh 755 usr/bin opensonic
|
2013-07-03 13:46:36 +00:00
|
|
|
vinstall ${FILESDIR}/opensonic.desktop 644 usr/share/applications
|
|
|
|
}
|