summaryrefslogtreecommitdiff
path: root/extra/scummvm/PKGBUILD
blob: ba4ce0a764bec60588bb2b3969a1dbd1f247363c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 150218 2012-02-15 08:08:05Z juergen $
# Maintainer: juergen <juergen@archlinux.org>
# Contributor: Manolis Tzanidakis, Petter Gundersen

pkgname=scummvm
pkgver=1.4.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=('libmad' 'sdl' 'fluidsynth')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('aa094c2224aad22d5340a1d2d919c883')

build() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  ./configure --backend=sdl --disable-debug \
    --with-flac-prefix=/usr \
    --with-fluidsynth-prefix=/usr \
    --disable-faad \
    --prefix=/usr
  make
}

package() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  install -Dm755 scummvm "${pkgdir}"/usr/bin/scummvm
  install -Dm644 dists/scummvm.6 "${pkgdir}"/usr/share/man/man6/scummvm.6
  # fixes FS#9118 
  install -Dm644 dists/${pkgname}.desktop \
	"${pkgdir}"/usr/share/applications/${pkgname}.desktop
  install -Dm644  icons/scummvm.xpm \
	"${pkgdir}"/usr/share/pixmaps/scummvm.xpm

  install -Dm644 gui/themes/scummmodern.zip "${pkgdir}"/usr/share/scummvm/scummmodern.zip
}