Last active
August 29, 2015 14:02
-
-
Save euclio/26fa5b6e76dc9f52bffd to your computer and use it in GitHub Desktop.
GBDK PKGBUILD
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
post_install() { | |
echo | |
echo "#########################" | |
echo "To set GBDKDIR add:" | |
echo | |
echo "export GBDKDIR=/opt/gbdk/" | |
echo | |
echo "in your .bashrc" | |
echo | |
echo "#########################" | |
echo | |
} |
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: Andy Russell <arussell123@gmail.com> | |
# Contributor: Xavier Benderitter <phenomenologeek at gmail.com> | |
pkgname=gbdk | |
pkgver=2.96a | |
pkgrel=2 | |
pkgdesc="GAMEBOY Developers Kit" | |
arch=(x86_64 i686) | |
url="http://gbdk.sourceforge.net/" | |
license=('GPL') | |
depends=('lib32-glibc') | |
conflicts=('lcc') | |
install=gbdk.install | |
_arch=i586 | |
source=(http://downloads.sourceforge.net/project/gbdk/gbdk/2.96/gbdk-$pkgver-$_arch-pc-linux2.2.tar.gz) | |
md5sums=('1d10b9192974c442abc3ddceb8145a13') | |
package() { | |
mkdir -p ${pkgdir}/usr/bin | |
mkdir -p ${pkgdir}/opt | |
mv $pkgname ${pkgdir}/opt | |
ln -sf /opt/gbdk/bin/lcc ${pkgdir}/usr/bin/lcc | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment