summaryrefslogtreecommitdiff
path: root/community/highlight
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/highlight
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/highlight')
-rw-r--r--community/highlight/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/highlight/PKGBUILD b/community/highlight/PKGBUILD
new file mode 100644
index 000000000..19cf2ef16
--- /dev/null
+++ b/community/highlight/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 43919 2011-03-31 14:31:46Z bluewind $
+# Maintainer: Florian Pritz <flo@xinu.at>
+# Contributor: Jan Fader <jan.fader@web.de>
+pkgbase=highlight
+pkgname=(highlight highlight-gui)
+pkgver=3.4
+pkgrel=1
+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=('9f1c39ca3a04c4599a7f3fda9928de47')
+
+build() {
+ cd "$srcdir/$pkgbase-$pkgver"
+
+ make
+ make gui
+}
+
+package_highlight() {
+ pkgdesc="Fast and flexible source code highlighter (CLI version)"
+ depends=('lua')
+ cd "$srcdir/$pkgbase-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+package_highlight-gui() {
+ pkgdesc="Fast and flexible source code highlighter (QT version)"
+ depends=('qt' 'highlight')
+ cd "$srcdir/$pkgbase-$pkgver"
+
+ install -dm755 "$pkgdir/usr/bin"
+ make DESTDIR="$pkgdir" install-gui
+}
+
+# vim:set ts=2 sw=2 et: