summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c3d5cd2129d954e1196ea1294b036b33c104ad66 (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
# Maintainer: FoolEcho <foolecho@gmail.com>
pkgname=gog-icewind-dale-enhanced-edition
_pkgname=icewind-dale-enhanced-edition
pkgver=2.6.6.0.47290
pkgrel=1
pkgdesc="Icewind Dale: Enhanced Edition is a classic RPG running through the Spine of the World of the Forgotten Realms. GOG Version. Linux native."
arch=('x86_64')
url="http://www.gog.com/game/icewind_dale_enhanced_edition"
license=('custom')
depends=('lib32-glibc' 'lib32-alsa-lib' 'lib32-libgl' 'lib32-openssl-1.0')
optdepends=('lib32-libpulse: pulseaudio support')
changelog=ChangeLog
source=("local://icewind_dale_enhanced_edition_${pkgver//./_}.sh"
	"${pkgname}"
	"${pkgname}.desktop")
md5sums=('fd7721f10a6d39c545ef46c58d80e2cc'
         '0ccf31e1428606487b2ea9079e69da03'
	 'e9f0eff0f1eb6d151ae935ceef1337f1')
PKGEXT=.pkg.tar

package() {
  mkdir -p "${pkgdir}"/opt/gog/${_pkgname}
  cp -r "${srcdir}"/data/noarch/* "${pkgdir}"/opt/gog/${_pkgname}
  install -Dm644 "${srcdir}"/${pkgname}.desktop "${pkgdir}"/usr/share/applications/${pkgname}.desktop
  install -Dm644 "${srcdir}"/data/noarch/support/icon.png "${pkgdir}"/usr/share/pixmaps/${pkgname}.png
  install -Dm644 "${srcdir}"/data/noarch/docs/End\ User\ License\ Agreement.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
  install -Dm755 "${srcdir}"/$pkgname "${pkgdir}"/usr/bin/${pkgname}
}