summaryrefslogtreecommitdiff
path: root/community/highlight/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/highlight/PKGBUILD')
-rw-r--r--community/highlight/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/community/highlight/PKGBUILD b/community/highlight/PKGBUILD
index 4548d4343..1d46f082a 100644
--- a/community/highlight/PKGBUILD
+++ b/community/highlight/PKGBUILD
@@ -1,20 +1,25 @@
-# $Id: PKGBUILD 77163 2012-10-06 07:36:47Z bluewind $
+# $Id: PKGBUILD 81109 2012-12-12 00:47:35Z eric $
# Maintainer: Florian Pritz <flo@xinu.at>
# Contributor: Jan Fader <jan.fader@web.de>
pkgbase=highlight
pkgname=(highlight highlight-gui)
pkgver=3.12
-pkgrel=1
+pkgrel=2
url="http://www.andre-simon.de/doku/highlight/highlight.html"
license=('GPL')
arch=('i686' 'x86_64')
-makedepends=(qt lua boost)
-source=(http://www.andre-simon.de/zip/$pkgname-$pkgver.tar.bz2)
-md5sums=('4b3f01e86a6b3fa25f3c4905a9cd63c7')
+makedepends=(qt lua51 boost)
+source=(http://www.andre-simon.de/zip/$pkgname-$pkgver.tar.bz2{,.asc})
+md5sums=('4b3f01e86a6b3fa25f3c4905a9cd63c7'
+ 'b784cd3f264a0f281da36f26c0c7f2c2')
build() {
cd "$srcdir/$pkgbase-$pkgver"
+ sed -i 's#pkg-config --cflags lua#pkg-config --cflags lua5.1#' src/makefile
+ sed -i 's#pkg-config --libs lua#pkg-config --libs lua5.1#' src/makefile
+ sed -i 's#lua#lua5.1#g' src/gui-qt/highlight.pro
+
make
make gui
}