mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
44 lines
1.1 KiB
Bash
44 lines
1.1 KiB
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
|
|
|
pkgname=gr-lida
|
|
pkgver=0.11.0
|
|
pkgrel=1
|
|
pkgdesc="Front-End for DOSBox and ScummVM"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL2')
|
|
url="http://sharesource.org/project/grlida/"
|
|
depends=('phonon' 'poppler-qt4')
|
|
categories=('games')
|
|
optdepends=('dosbox: for DOSBox support' 'scummvm: for ScummVM support')
|
|
source=(https://github.com/Monthy/gr-lida/archive/v$pkgver.tar.gz
|
|
"zlib.patch")
|
|
md5sums=('44fd4e5f1f6c4a247fb317445e445dab')
|
|
|
|
prepare() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
# http://www.gr-lida.org/foros/viewtopic.php?id=162
|
|
sed \
|
|
-e "s/CONFIG += qt warn_on thread release/CONFIG += qt warn_on thread release use_zlib/g" \
|
|
-i gr-lida.pro
|
|
|
|
Â# Based on r18607 of Scribus
|
|
patch -uNp1 -i "$srcdir/zlib.patch"
|
|
}
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
qmake
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
make INSTALL_ROOT=$pkgdir install
|
|
}
|
|
md5sums=('44fd4e5f1f6c4a247fb317445e445dab'
|
|
'7cb2d35980188df85f4de2dd4a8c8504')
|