Date: Thursday, June 7, 2012 @ 08:04:14 Author: juergen Revision: 160945
FS#30145 - [ScummVM] PKGBUILD cleanup Modified: scummvm/trunk/PKGBUILD ----------+ PKGBUILD | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-06-07 11:57:54 UTC (rev 160944) +++ PKGBUILD 2012-06-07 12:04:14 UTC (rev 160945) @@ -4,34 +4,26 @@ pkgname=scummvm pkgver=1.4.1 -pkgrel=1 +pkgrel=2 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') +depends=('libmad' 'sdl' 'fluidsynth' 'flac' 'faad2' 'libvorbis' 'libmad') 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 \ + ./configure --disable-debug \ + --enable-release \ --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 + make DESTDIR=$startdir/pkg install 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 }