Created
June 9, 2012 21:03
-
-
Save zendeavor/2902585 to your computer and use it in GitHub Desktop.
supermeatboy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: zendeavor <j.s.mcgee115@gmail.com> | |
# Assistance from: Daniel Wallace <danielwallace at gtmanfred dot com> | |
# Contributor: Yochai Gal <yochaigal@gmail.com> | |
# Contributor: Yann Kaiser <kaiser.yann@gmail.com> | |
pkgname=supermeatboy | |
pkgver=20120607 | |
_pkgver=06072012 | |
pkgrel=10 | |
pkgdesc="Super Meat Boy is a game where you play as a boy without skin whose girlfriend who is made of bandages gets kidnapped by a fetus in a tuxedo wearing a top hat and a monocle." | |
url="http://www.supermeatboy.com/" | |
license=('custom') | |
arch=('i686' 'x86_64') | |
groups=("humble-indie-bundleV" "humble-indie-bundle4" "games") | |
depends=('openal' 'sdl') | |
makedepends=('unzip' 'curl') | |
source=("${pkgname}-linux-${_pkgver}-bin" | |
"${pkgname}.install" | |
"${pkgname}.desktop" | |
"${pkgname}.sh") | |
md5sums=("90a563ff103b4610b41af5fd2bccb21a" | |
"b25345577b44fbeeba96c6cc87f11c1e" | |
"be21279ec63d306d93f112d57f12abd5" | |
"c59565efc66ed594b40da786c7c58609") | |
PKGEXT=".pkg.tar" | |
package() { | |
mkdir -p "${pkgdir}/opt/${pkgname}" | |
unzip -u "${source[0]%%:*}" -d "${pkgdir}/opt/${pkgname}" || true | |
find "${pkgdir}" -type f -exec chmod 644 "{}" + | |
install -Dm644 "${pkgname}".desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" | |
install -Dm755 "${pkgname}".sh "${pkgdir}/usr/bin/${pkgname}" | |
chmod 755 "${pkgdir}/opt/${pkgname}/data/SuperMeatBoy" \ | |
"${pkgdir}/opt/${pkgname}/data/amd64/SuperMeatBoy-amd64" \ | |
"${pkgdir}/opt/${pkgname}/data/x86/SuperMeatBoy-x86" | |
} | |
# vim: ft=PKGBUILD sts=2 ts=2 sw=2 et |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment