1 # Maintainer: D. Can Celasun <dcelasun[at]gmail[dot]com>
3 pkgname=the-binding-of-isaac
6 pkgdesc="A randomly generated action RPG shooter with heavy Rogue-like elements."
7 url="http://www.bindingofisaac.com"
8 license=('custom: "commercial"')
11 [ "${CARCH}" = "x86_64" ] && depends=('lib32-sqlite3' 'lib32-libidn' 'lib32-libxt' 'lib32-libxxf86vm' 'lib32-gtk2' 'lib32-nss' 'lib32-curl') \
12 && optdepends=('lib32-libvdpau: For flash player hardware acceleration')
13 [ "${CARCH}" = "i686" ] && depends=('sqlite3' 'libidn' 'libxt' 'libxxf86vm' 'gtk2' 'nss' 'curl')\
14 && optdepends=('libvdpau: For flash player hardware acceleration')
16 source=("isaac.desktop" "isaac.png")
18 _gamepkg="binding-of-isaac_${pkgver}_i386.tar.gz"
19 md5sums=('bd7ab23bafd88705b42c0c328f8f6717'
20 'bbc59b1fabb6036e4db450811bd3ab39')
23 msg "You need a full copy of this game in order to install it"
24 msg "Searching for ${_gamepkg} in dir: $(readlink -f `pwd`/..)"
25 if [[ -f "../${_gamepkg}" ]]; then
26 msg "Found game package, installing..."
27 ln -fs "../${_gamepkg}" .
29 error "Game package not found, please type absolute path to ${_gamepkg} (/home/joe):"
31 if [[ -f "${pkgpath}/${_gamepkg}" ]]; then
32 msg "Found game package, installing..."
33 ln -fs "${pkgpath}/${_gamepkg}" .
35 error "Unable to find game package."
45 install -d "${pkgdir}/usr/bin/"
46 install -D -m755 "${srcdir}/isaac" "${pkgdir}/usr/bin/isaac"
47 # Install Desktop File and Icon
48 install -D -m644 "${srcdir}/isaac.desktop" \
49 "${pkgdir}/usr/share/applications/isaac.desktop"
50 install -D -m644 "${srcdir}/isaac.png" \
51 "${pkgdir}/usr/share/icons/isaac.png"