diff options
author | Can Celasun | 2015-05-31 21:46:22 +0300 |
---|---|---|
committer | Can Celasun | 2015-05-31 21:46:22 +0300 |
commit | e340a5a0b653401062c49b27437ea7d9262ce0de (patch) | |
tree | 8f1465c8d551f832ec5175ac5667ff45db74e242 | |
download | aur-e340a5a0b653401062c49b27437ea7d9262ce0de.tar.gz |
New structure
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 51 | ||||
-rw-r--r-- | isaac.desktop | 8 | ||||
-rw-r--r-- | isaac.png | bin | 0 -> 5209 bytes |
4 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2e9495726496 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = the-binding-of-isaac + pkgdesc = A randomly generated action RPG shooter with heavy Rogue-like elements. + pkgver = 20111101 + pkgrel = 4 + url = http://www.bindingofisaac.com + arch = i686 + arch = x86_64 + license = custom: "commercial" + options = !strip + source = isaac.desktop + source = isaac.png + md5sums = bd7ab23bafd88705b42c0c328f8f6717 + md5sums = bbc59b1fabb6036e4db450811bd3ab39 + +pkgname = the-binding-of-isaac + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3cd6e85e004f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: D. Can Celasun <dcelasun[at]gmail[dot]com> + +pkgname=the-binding-of-isaac +pkgver=20111101 +pkgrel=4 +pkgdesc="A randomly generated action RPG shooter with heavy Rogue-like elements." +url="http://www.bindingofisaac.com" +license=('custom: "commercial"') +arch=('i686' 'x86_64') + +[ "${CARCH}" = "x86_64" ] && depends=('lib32-sqlite3' 'lib32-libidn' 'lib32-libxt' 'lib32-libxxf86vm' 'lib32-gtk2' 'lib32-nss' '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) +source=("isaac.desktop" "isaac.png") + +_gamepkg="binding-of-isaac_${pkgver}_i386.tar.gz" +md5sums=('bd7ab23bafd88705b42c0c328f8f6717' + 'bbc59b1fabb6036e4db450811bd3ab39') + +package(){ + cd "${srcdir}" + + msg "You need a full copy of this game in order to install it" + msg "Searching for ${_gamepkg} in dir: $(readlink -f `pwd`/..)" + if [[ -f "../${_gamepkg}" ]]; then + msg "Found game package, installing..." + ln -fs "../${_gamepkg}" . + else + error "Game package not found, please type absolute path to ${_gamepkg} (/home/joe):" + read pkgpath + if [[ -f "${pkgpath}/${_gamepkg}" ]]; then + msg "Found game package, installing..." + ln -fs "${pkgpath}/${_gamepkg}" . + else + error "Unable to find game package." + return 1 + fi + fi + tar zxvf ${_gamepkg} + + # create Launcher + install -d "${pkgdir}/usr/bin/" + 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/isaac.desktop b/isaac.desktop new file mode 100644 index 000000000000..46c85f45d219 --- /dev/null +++ b/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/isaac.png b/isaac.png Binary files differnew file mode 100644 index 000000000000..37b852cb92e2 --- /dev/null +++ b/isaac.png |