mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
36 lines
1.5 KiB
Bash
36 lines
1.5 KiB
Bash
|
# $Id: PKGBUILD 42102 2009-06-11 07:49:12Z juergen $
|
||
|
# Maintainer: juergen <juergen@hoetzel.info>
|
||
|
# Contributor: Manolis Tzanidakis, Petter Gundersen
|
||
|
|
||
|
pkgname=scummvm
|
||
|
pkgver=0.13.1
|
||
|
pkgrel=1
|
||
|
pkgdesc="A 'virtual machine' for several classic graphical point-and-click adventure games."
|
||
|
arch=(i686 x86_64)
|
||
|
license=('GPL')
|
||
|
url="http://www.scummvm.org/"
|
||
|
depends=('gcc-libs' 'alsa-lib' 'libmad' 'libvorbis' 'zlib' 'libmpeg2' 'flac>=1.1.4')
|
||
|
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2 ${pkgname}-${pkgver}-gcc4-fix.patch)
|
||
|
md5sums=('843d9cd4470022bd3b269eb84298dc16' '810a6f483010cd2ccc434f7d01d0436f')
|
||
|
|
||
|
build() {
|
||
|
cd ${startdir}/src/${pkgname}-${pkgver}
|
||
|
patch -p1 -i ${startdir}/${pkgname}-${pkgver}-gcc4-fix.patch
|
||
|
./configure --backend=sdl --disable-debug \
|
||
|
--with-mpeg2-prefix=/usr \
|
||
|
--with-flac-prefix=/usr \
|
||
|
--prefix=/usr \
|
||
|
--disable-fluidsynth
|
||
|
/usr/bin/make || return 1
|
||
|
install -D -m 755 scummvm ${startdir}/pkg/usr/bin/scummvm
|
||
|
install -D -m 644 dists/scummvm.6 ${startdir}/pkg/usr/man/man6/scummvm.6
|
||
|
install -m644 -D gui/themes/modern.ini ${startdir}/pkg/usr/share/scummvm/modern.ini
|
||
|
install -m644 -D gui/themes/modern.zip ${startdir}/pkg/usr/share/scummvm/modern.zip
|
||
|
# fixes FS#9118
|
||
|
install -D -m644 dists/${pkgname}.desktop \
|
||
|
${startdir}/pkg/usr/share/applications/${pkgname}.desktop
|
||
|
install -D -m644 icons/scummvm.xpm \
|
||
|
${startdir}/pkg/usr/share/pixmaps/scummvm.xpm
|
||
|
}
|
||
|
# vim: ts=2 sw=2 et ft=sh
|