Skip to content

Instantly share code, notes, and snippets.

@winny- winny-/brogue-fix.diff Secret
Created Apr 6, 2017

Embed
What would you like to do?
diff --git a/PKGBUILD b/PKGBUILD
index 26bdad9..0eb428d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,15 @@
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Joao Cordeiro <jlcordeiro at gmail dot com>
+# Contributor: Winston Weinert <winston@ml1.net>
pkgname=brogue
pkgver=1.7.4
-pkgrel=1
+pkgrel=2
pkgdesc="A 26-level dungeon crawl to the Amulet of Yendor."
arch=('i686' 'x86_64')
url="http://sites.google.com/site/broguegame/"
license=('AGPL3')
-depends=('sdl' 'libtcod')
+depends=('libtcod-151')
install=brogue.install
source=(https://sites.google.com/site/broguegame/brogue-1.7.4-linux-i386.tbz2
'brogue.sh')
@@ -18,8 +19,8 @@ md5sums=('8ef1d4b985b4e73685f52db80200262c'
build() {
cd "$srcdir/$pkgname-$pkgver"
- sed -i '/^CFLAGS=*/a CFLAGS+=-I/usr/include/libtcod' Makefile
- sed -i 's/-ltcod/-ltcod -lSDL -lm/g' Makefile
+ sed -i '/^CFLAGS=*/a CFLAGS+=-I/usr/include/libtcod-1.5.1' Makefile
+ sed -i 's/-ltcod/-l:libtcod.so.1.5.1 -lSDL -lm/g' Makefile
# todo, fix sources to use /usr/share directly and remove brogue.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.