Skip to content

Instantly share code, notes, and snippets.

Created February 3, 2013 06:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4700765 to your computer and use it in GitHub Desktop.
Save anonymous/4700765 to your computer and use it in GitHub Desktop.
--- 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