updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / colorer / PKGBUILD
blob53676fe2e0d64dd917bbf3657c7966a62b04d1e0
1 # Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
2 # Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
4 pkgname=colorer
5 pkgver=take5.be5
6 pkgrel=4
7 pkgdesc='A library that provides source text syntax highlighting services'
8 arch=('i686' 'x86_64')
9 url='http://colorer.sourceforge.net/'
10 license=("MPL" "GPL" "LGPL")
11 depends=('gcc')
12 source=("http://downloads.sourceforge.net/sourceforge/colorer/Colorer-take5-linux.be5.tar.bz2"
13         'x86_64-build.patch')
14 md5sums=('9ae5f5266aa41968314c18334d941fc2'
15          'eabd3825c2cd80f06161548c2df21299')
16 options=('force')
18 build() {
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}