aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2014-09-11 19:20:46 +0200
committerTharre <tharre3@gmail.com>2014-09-11 19:20:46 +0200
commit3b450a3508b811501841dcc35fed74495c4e8f0b (patch)
tree80f406feefebedc6e603a1a52429a0069a22d61d
downloadpkgbuilds-3b450a3508b811501841dcc35fed74495c4e8f0b.tar.gz
pkgbuilds-3b450a3508b811501841dcc35fed74495c4e8f0b.tar.xz
pkgbuilds-3b450a3508b811501841dcc35fed74495c4e8f0b.zip
Add the binding of isaac package
-rw-r--r--the-binding-of-isaac/PKGBUILD39
-rw-r--r--the-binding-of-isaac/isaac.desktop8
-rw-r--r--the-binding-of-isaac/isaac.pngbin0 -> 5209 bytes
3 files changed, 47 insertions, 0 deletions
diff --git a/the-binding-of-isaac/PKGBUILD b/the-binding-of-isaac/PKGBUILD
new file mode 100644
index 0000000..2746fba
--- /dev/null
+++ b/the-binding-of-isaac/PKGBUILD
@@ -0,0 +1,39 @@
+# Original maintainer: D. Can Celasun <dcelasun[at]gmail[dot]com>
+# TODO: add license
+
+pkgname=the-binding-of-isaac
+pkgver=20121219
+pkgrel=1
+pkgdesc="A randomly generated action RPG shooter with heavy Rogue-like elements."
+url="http://www.bindingofisaac.com"
+license=('custom: "commercial"')
+arch=('i686' 'x86_64')
+_gamepkg="the_binding_of_isaac_wrath_of_the_lamb-linux.tar.gz"
+
+[ "${CARCH}" = "x86_64" ] && depends=('lib32-sqlite3' 'lib32-libidn' 'lib32-libxt' 'lib32-libxxf86vm' 'lib32-gtk2' 'lib32-curl') \
+&& optdepends=('lib32-libvdpau: For flash player hardware acceleration')
+[ "${CARCH}" = "i686" ] && depends=('sqlite3' 'libidn' 'libxt' 'libxxf86vm' 'gtk2' 'nss' 'curl')\
+&& optdepends=('libvdpau: For flash player hardware acceleration')
+options=(!strip)
+
+# You can download the Humble Indie Bundle file manually, or you can configure
+# DLAGENTS in makepkg.conf to auto-download.
+DLAGENTS+=('hib::/usr/bin/echo "Could not find %u. Download manually to \"$(pwd)\" or setup hib:// DLAGENT in /etc/makepkg.conf."; exit 1')
+
+source=("${_gamepkg}"::"hib://${_gamepkg}"
+ "isaac.desktop" "isaac.png")
+md5sums=('f56410cdbed698cb984745e898585087'
+ 'bd7ab23bafd88705b42c0c328f8f6717'
+ 'bbc59b1fabb6036e4db450811bd3ab39')
+
+package(){
+ # create Launcher
+ install -d "${pkgdir}/usr/bin/"
+ mv "${srcdir}/Binding of Isaac/The Binding of Isaac + Wrath of the Lamb" "${srcdir}/isaac"
+ install -D -m755 "${srcdir}/isaac" "${pkgdir}/usr/bin/isaac"
+ # Install Desktop File and Icon
+ install -D -m644 "${srcdir}/isaac.desktop" \
+ "${pkgdir}/usr/share/applications/isaac.desktop"
+ install -D -m644 "${srcdir}/isaac.png" \
+ "${pkgdir}/usr/share/icons/isaac.png"
+}
diff --git a/the-binding-of-isaac/isaac.desktop b/the-binding-of-isaac/isaac.desktop
new file mode 100644
index 0000000..46c85f4
--- /dev/null
+++ b/the-binding-of-isaac/isaac.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Categories=Game;ActionGame;AdventureGame;
+Exec=/usr/bin/isaac
+Icon=isaac
+Terminal=false
+Type=Application
+Name=The Binding of Isaac
+Comment=A randomly generated action RPG shooter with heavy Rogue-like elements.
diff --git a/the-binding-of-isaac/isaac.png b/the-binding-of-isaac/isaac.png
new file mode 100644
index 0000000..37b852c
--- /dev/null
+++ b/the-binding-of-isaac/isaac.png
Binary files differ