Created
February 3, 2013 06:41
-
-
Save anonymous/4700765 to your computer and use it in GitHub Desktop.
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
--- PKGBUILD.old 2013-02-03 06:39:41.684702517 +0000 | |
+++ PKGBUILD 2013-02-03 06:39:09.094941216 +0000 | |
@@ -4,14 +4,19 @@ | |
pkgver=1 | |
pkgrel=5 | |
pkgdesc="A Tetris remake written in C using libSDL" | |
-arch=('i686') | |
+arch=('i686' 'x86_64') | |
url="http://machineinteractive.com/projects/projects.html" | |
license=("GPL-2") | |
-depends=('sdl_mixer' 'sdl_ttf' 'bash') | |
source=("https://github.com/machinezilla/sdlblocks/archive/master.zip" "${pkgname}.desktop") | |
md5sums=('36cc1968042de0ed56619d928cfef70a' | |
'4178deb1bc373988c9dd305a648093c0') | |
+if [ "$CARCH" = "i686" ]; then | |
+ depends=('sdl_mixer' 'sdl_ttf' 'bash') | |
+elif [ "$CARCH" = "x86_64" ]; then | |
+ depends=('lib32-sdl_mixer' 'lib32-sdl_ttf' 'bash') | |
+fi | |
+ | |
build() { | |
cd $srcdir/$pkgname-master | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment