# Contributor: Tambra Wilcox <Tambra@J30AD.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=scummvm
pkgver=2.0.0
pkgrel=0
pkgdesc="Allows running classic point-and-click adventure games"
url="https://www.scummvm.org/"
arch="all"
options="!check"  # No tests provided.
license="GPL-2.0+"
depends=""
makedepends="alsa-lib-dev curl-dev flac-dev fluidsynth-dev freetype-dev
	libjpeg-turbo-dev libmpeg2-dev libogg-dev libpng-dev libvorbis-dev
	sdl-dev zlib-dev"
subpackages="$pkgname-doc"
source="https://www.scummvm.org/frs/scummvm/$pkgver/scummvm-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--disable-readline
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="66c689d776b8098d752ef696232f80f175f3bff9f523e6dceb246849e785889d135452f48eafa5f2664047297de8592c862677270de4bf83731f10e178ad6847  scummvm-2.0.0.tar.bz2"