summaryrefslogtreecommitdiff
path: root/community/highlight/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/highlight/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/highlight/PKGBUILD')
-rw-r--r--community/highlight/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/highlight/PKGBUILD b/community/highlight/PKGBUILD
new file mode 100644
index 000000000..4872a8ebb
--- /dev/null
+++ b/community/highlight/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 92418 2013-06-04 19:14:33Z bluewind $
+# Maintainer: Florian Pritz <flo@xinu.at>
+# Contributor: Jan Fader <jan.fader@web.de>
+pkgbase=highlight
+pkgname=(highlight highlight-gui)
+pkgver=3.14
+pkgrel=1
+url="http://www.andre-simon.de/doku/highlight/highlight.html"
+license=('GPL')
+arch=('i686' 'x86_64')
+makedepends=(qt4 lua51 boost)
+source=(http://www.andre-simon.de/zip/$pkgname-$pkgver.tar.bz2{,.asc})
+md5sums=('a0bf796e952f5e1ccf061704cd774047'
+ 'SKIP')
+
+build() {
+ cd "$srcdir/$pkgbase-$pkgver"
+
+ make QMAKE=qmake-qt4
+ make QMAKE=qmake-qt4 gui
+}
+
+package_highlight() {
+ pkgdesc="Fast and flexible source code highlighter (CLI version)"
+ depends=('lua51')
+ cd "$srcdir/$pkgbase-$pkgver"
+
+ make DESTDIR="$pkgdir" QMAKE=qmake-qt4 install
+}
+
+package_highlight-gui() {
+ pkgdesc="Fast and flexible source code highlighter (QT version)"
+ depends=('qt4' 'highlight')
+ cd "$srcdir/$pkgbase-$pkgver"
+
+ install -dm755 "$pkgdir/usr/bin"
+ make DESTDIR="$pkgdir" QMAKE=qmake-qt4 install-gui
+}
+
+# vim:set ts=2 sw=2 et: