blob: 983c26606115d88354397a367b0797ed7b0ba7e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Philippe Cherel <philippe dot cherel at mayenne dot org>
# Maintainer: Christoph Schmidpeter <christoph dot schmidpeter at gmx dot de>
pkgname=gog-baldurs-gate-enhanced-edition
_pkgname=baldurs-gate-enhanced-edition
_original="Baldurs Gate Enhanced Edition"
pkgver=2.6.6.0.47291
pkgver_dl=2_6_6_0_47291
pkgrel=1
pkgdesc="Chaos threatens to overwhelm the Sword Coast. GOG Version. Linux native."
arch=('i686' 'x86_64')
url="http://www.gog.com/game/baldurs_gate_enhanced_edition"
license=('custom')
depends_i686=('glibc' 'alsa-lib' 'libgl' 'libjson' 'openal' 'openssl-1.0' 'expat' 'libx11' 'gcc-libs' 'libxext' 'libxcb' 'libxau' 'lib32-libxdmcp')
depends_x86_64=('lib32-glibc' 'lib32-alsa-lib' 'lib32-libgl' 'lib32-libjson' 'lib32-openal' 'lib32-openssl-1.0' 'lib32-expat' 'lib32-libx11' 'lib32-gcc-libs' 'lib32-libxext' 'lib32-libxcb' 'lib32-libxau' 'lib32-libxdmcp')
optdepends_i686=('libpulse: pulseaudio support')
optdepends_x86_64=('lib32-libpulse: pulseaudio support')
DLAGENTS+=("gog::/usr/bin/echo Could not find %u. Manually download it to \"$(pwd)\", or set up a gog:// DLAGENT in /etc/makepkg.conf.")
source=("gog://baldur_s_gate_enhanced_edition_$pkgver_dl.sh"
"${pkgname}"
"$pkgname.desktop")
PKGEXT=".pkg.tar"
sha256sums=('7a7edffcdd58f8d75d7217921c3b8f9aedf817b09c1f2168619a365dc46662ec'
'7b037776cb5a87c26a827ef29bd87957d0fee670570a6f9e0383ec2d90f26040'
'a1b677747360e37376da85ccc568463f9c0cb0d8a99a8e0be3655bf23473ccb7')
package() {
_pkgdir="$pkgdir/opt/gog/$_pkgname"
mkdir -p "$pkgdir"/opt/gog/$_pkgname
cp -r data/noarch/* "$_pkgdir"
install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 data/noarch/support/icon.png "$pkgdir/usr/share/pixmaps/hicolor/256x256/$pkgname.png"
install -Dm644 data/noarch/docs/End\ User\ License\ Agreement.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|