diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-07-02 14:23:56 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-07-02 14:23:56 +0200 |
commit | 99a09241cd07be917549fe64d20532648946a6c5 (patch) | |
tree | 69a6122980a4a02d30172909ab8589970a52c5d6 /main/highlight/APKBUILD | |
parent | 82a834f486080fcf27760bc2e2494365ed5aba7e (diff) | |
download | aports-99a09241cd07be917549fe64d20532648946a6c5.tar.bz2 aports-99a09241cd07be917549fe64d20532648946a6c5.tar.xz |
testing/highlight: move to main
Diffstat (limited to 'main/highlight/APKBUILD')
-rw-r--r-- | main/highlight/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/main/highlight/APKBUILD b/main/highlight/APKBUILD new file mode 100644 index 0000000000..eaca465ffd --- /dev/null +++ b/main/highlight/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=highlight +pkgver=3.18 +pkgrel=0 +pkgdesc="Fast and flexible source code highlighter" +url="http://www.andre-simon.de/doku/highlight/highlight.html" +arch="all" +license="GPLv3" +depends="" +depends_dev="" +makedepends="$depends_dev lua-dev boost-dev" +install="" +subpackages="$pkgname-doc" +source="http://www.andre-simon.de/zip/highlight-$pkgver.tar.bz2 + lua5.1-compat.patch" + +_builddir="$srcdir"/highlight-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + +} + +build() { + cd "$_builddir" + make cli +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name '*.la' -delete +} + +md5sums="085d7639a7e05a0d41923a889dc801c9 highlight-3.18.tar.bz2 +2450274893ceaa7288ae3ce3c680540d lua5.1-compat.patch" +sha256sums="55c6f7a5aeaac2c811078a0215b27c1c80d971bba5dff51ee74a97b3303a584b highlight-3.18.tar.bz2 +2d907c2c8a62cf18e11b780ab51a63907df628fecab8f3072e752c2843b4169f lua5.1-compat.patch" +sha512sums="1f939e117209e96d021216addc281ca7f265822f053f577ed7cb11b8ac9a1762bf84f8e1f9f5e67277004573b98e4b8732f48549aa674fe6801bfc1c0627b930 highlight-3.18.tar.bz2 +e2b4d01bc1483149fdabb3a5d6fc9d146f433bb61ef987e0377b751bde8fcb6a80d09f47d3d6cae6c45add11ef82ce9088eee750d68e84b42b3cbbdf7970b701 lua5.1-compat.patch" |