2010-12-02 20:39:49 +08:00
|
|
|
#
|
2011-01-24 02:32:20 +08:00
|
|
|
# Games Packages for Chakra, part of chakra-project.org
|
2010-12-02 20:39:49 +08:00
|
|
|
#
|
|
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname=smc
|
|
|
|
pkgver=1.9
|
2011-01-24 02:32:20 +08:00
|
|
|
_musicver=5.0
|
|
|
|
pkgrel=3
|
2010-12-02 20:39:49 +08:00
|
|
|
pkgdesc="Secret Maryo Chronicles"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.secretmaryo.org/"
|
|
|
|
license=('GPL3')
|
2011-01-24 02:32:20 +08:00
|
|
|
depends=('sdl_image' 'sdl_ttf' 'sdl_mixer' 'cegui>=0.7' 'boost' 'libpng')
|
|
|
|
makedepends=('autoconf' 'automake')
|
2010-12-02 20:39:49 +08:00
|
|
|
source=(http://downloads.sourceforge.net/smclone/$pkgname-$pkgver.tar.bz2
|
2011-01-24 02:32:20 +08:00
|
|
|
http://downloads.sourceforge.net/smclone/SMC_Music_${_musicver}_high.zip
|
|
|
|
smc-for-cegui-v0-7.diff
|
2010-12-02 20:39:49 +08:00
|
|
|
smc.desktop
|
|
|
|
smc.png)
|
|
|
|
md5sums=('75ab7826303c49aec25b052a8b90287f'
|
2011-01-24 02:32:20 +08:00
|
|
|
'0bccac29052d3eed93e88535312eaaa2'
|
|
|
|
'51dfea21b741ad19df14e738df52f1cf'
|
|
|
|
'80fe208132ff41dd7677a53ee429ecdb'
|
2010-12-02 20:39:49 +08:00
|
|
|
'efca7580e28748625eb676c9d24ee122')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2011-01-24 02:32:20 +08:00
|
|
|
|
|
|
|
# to remove when smc will be compatible with cegui-0.7.x
|
|
|
|
patch -Np1 -i ${srcdir}/smc-for-cegui-v0-7.diff
|
|
|
|
|
2010-12-02 20:39:49 +08:00
|
|
|
./autogen.sh
|
|
|
|
./configure --prefix=/usr
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2011-01-24 02:32:20 +08:00
|
|
|
|
2010-12-02 20:39:49 +08:00
|
|
|
make install LDADD=-lpng DESTDIR=$pkgdir
|
2010-12-09 01:41:27 +08:00
|
|
|
|
2010-12-02 20:39:49 +08:00
|
|
|
# install some freedesktop.org compatibility
|
|
|
|
install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
|
|
|
|
install -Dm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
|
|
|
|
|
|
|
|
cp -R $srcdir/data/music $pkgdir/usr/share/smc/
|
|
|
|
}
|