1 # Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
2 # Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
7 pkgdesc='A library that provides source text syntax highlighting services'
9 url='http://colorer.sourceforge.net/'
10 license=("MPL" "GPL" "LGPL")
12 source=("http://downloads.sourceforge.net/sourceforge/colorer/Colorer-take5-linux.be5.tar.bz2"
14 md5sums=('9ae5f5266aa41968314c18334d941fc2'
15 'eabd3825c2cd80f06161548c2df21299')
19 [ $CARCH = "x86_64" ] && patch -p0 < x86_64-build.patch
21 ./configure --prefix=/usr
23 [ $CARCH = "i686" ] && make
24 [ $CARCH = "x86_64" ] && make FLAGS="$FLAGS -fPIC"
26 make prefix=${pkgdir}/usr install
28 rm ${pkgdir}/usr/share/colorer/{LICENSE,README}