Skip to content

anonymous /gist:4700765

--- 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
Something went wrong with that request. Please try again.