desktop/scummvm/PKGBUILD

44 lines
1.4 KiB
Bash
Raw Normal View History

2011-09-02 07:47:46 +08:00
pkgname=scummvm
2017-10-21 18:36:48 +08:00
pkgver=1.9.0
2011-09-02 07:47:46 +08:00
pkgrel=1
2011-11-12 05:08:41 +08:00
pkgdesc="A virtual machine for several classic graphical point-and-click adventure games."
2015-12-20 21:40:44 +08:00
arch=('x86_64')
2011-09-02 07:47:46 +08:00
license=('GPL3')
url="http://www.scummvm.org/"
2016-03-12 18:31:14 +08:00
depends=('alsa-lib' 'flac' 'fluidsynth' 'glu' 'libmad' 'libvorbis' 'sdl' 'zlib')
2012-03-07 19:00:46 +08:00
categories=('games')
2016-03-12 18:31:14 +08:00
source=("https://github.com/scummvm/scummvm/archive/v${pkgver}.tar.gz"
2011-11-12 05:08:41 +08:00
"${pkgname}.desktop")
2016-06-12 00:38:25 +08:00
sha256sums=('2b107719d6d8e242ea5c3103eb483c0193669e973158a0f6ff93d24ad3a08a27'
2015-12-20 21:40:44 +08:00
'1165dfe59a4ba25d9605ca0e1be650706bbd784b0c7f66d7a9700538d0031090')
2017-10-21 18:36:48 +08:00
sha256sums=('02051c4cef5d14b95ebeb40d0c88f73644cbf606a5777e5c14d0f74c5037a4f5'
'1165dfe59a4ba25d9605ca0e1be650706bbd784b0c7f66d7a9700538d0031090')
2015-12-20 21:40:44 +08:00
2011-09-02 07:47:46 +08:00
build() {
2011-11-12 05:08:41 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--with-flac-prefix=/usr \
--backend=sdl \
--disable-debug
2011-09-02 07:47:46 +08:00
make
}
package() {
2011-11-12 05:08:41 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2011-09-02 07:47:46 +08:00
# Manual installation.
2011-11-12 05:08:41 +08:00
install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "dists/${pkgname}.6" "${pkgdir}/usr/share/man/man6/${pkgname}.6"
2011-09-02 07:47:46 +08:00
# Desktop integration.
2011-11-12 05:08:41 +08:00
install -Dm644 "dists/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "icons/${pkgname}.xpm" "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm"
2011-09-02 07:47:46 +08:00
# Themes.
2011-11-12 05:08:41 +08:00
install -Dm644 gui/themes/scummmodern.zip "${pkgdir}/usr/share/scummvm/scummmodern.zip"
2011-09-02 07:47:46 +08:00
}
2017-10-21 18:36:48 +08:00