-
-
Save winny-/02d3971389af549cb2a6a2febece2f4b 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
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