PKGBUILDs/extra/smc/PKGBUILD
2009-10-09 21:23:22 -05:00

34 lines
1.2 KiB
Bash

# $Id: PKGBUILD 51293 2009-09-07 06:58:39Z allan $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Kritoke <typeolinux@yahoo.com>
pkgname=smc
pkgver=1.9
pkgrel=1
pkgdesc="Secret Maryo Chronicles"
arch=('i686' 'x86_64')
url="http://www.secretmaryo.org/"
license=('GPL3')
depends=('sdl_image' 'sdl_ttf' 'sdl_mixer' 'cegui' 'boost' 'libpng')
makedepends=('autoconf' 'automake')
source=(http://downloads.sourceforge.net/project/smclone/Secret%20Maryo%20Chronicles/$pkgver/$pkgname-$pkgver.tar.bz2
http://downloads.sourceforge.net/project/smclone/Addon%20-%20Music/4.1/SMC_Music_4.1_high.zip
smc.desktop
smc.png)
md5sums=('75ab7826303c49aec25b052a8b90287f'
'f0d5fad6f1d0387bd909c93226698ba9'
'80fe208132ff41dd7677a53ee429ecdb'
'efca7580e28748625eb676c9d24ee122')
build() {
cd $srcdir/$pkgname-$pkgver
./autogen.sh || return 1
./configure --prefix=/usr || return 1
make install LDADD=-lpng DESTDIR=$pkgdir || return 1
# 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/
}