public
anonymous / gist:4700765
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
--- 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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.