PKGBUILDs/extra/source-highlight/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
831 B
Bash

# $Id: PKGBUILD 44570 2009-07-02 18:17:55Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=source-highlight
pkgver=3.1
pkgrel=2
pkgdesc="Convert source code to syntax highlighted document"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/src-highlite/"
license=('GPL')
depends=('bash' 'boost>=1.39.0')
makedepends=('ctags')
options=('!libtool')
source=(ftp://ftp.gnu.org/gnu/src-highlite/${pkgname}-${pkgver}.tar.gz)
md5sums=('5680461e835ecfea006497ed2d018126')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-bash-completion=${pkgdir}/etc/bash_completion.d
make || return 1
make prefix=${pkgdir}/usr install
rm -rf ${pkgdir}/usr/share/info/dir
}