# $Id: PKGBUILD 29577 2010-10-16 03:43:54Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Jérémie Dimino # Contributor: Sebastian Hase # Contributor: Joe Davison pkgname=scummvm-tools pkgver=1.2.0 pkgrel=1 pkgdesc="A set of tools that enable you to convert, compress and decode game datafiles for ScummVM" url="http://www.scummvm.org/" license=('GPL') depends=('libpng' 'wxgtk' 'flac' 'libvorbis') arch=('i686' 'x86_64' 'mips64el') source=(http://downloads.sourceforge.net/sourceforge/scummvm/${pkgname}-${pkgver}.tar.gz) md5sums=('5a9992faa2c024f83d90718ce5d96cb5') build() { cd ${pkgname}-${pkgver} install -d ${pkgdir}/usr/bin ./configure --prefix=/usr || return 1 make || return 1 } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install || return 1 install -Dm 644 README ${pkgdir}/usr/share/doc/scummvm-tools/README install -Dm 644 convert_dxa.sh ${pkgdir}/usr/share/doc/scummvm-tools/samples/convert_dxa.sh } #vim: sw=2 ts=2 et: