diff options
Diffstat (limited to 'extra/source-highlight/PKGBUILD')
-rw-r--r-- | extra/source-highlight/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/source-highlight/PKGBUILD b/extra/source-highlight/PKGBUILD new file mode 100644 index 000000000..4846c97f0 --- /dev/null +++ b/extra/source-highlight/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 111993 2011-03-02 22:17:55Z ibiru $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> + +pkgname=source-highlight +pkgver=3.1.4 +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=('gcc-libs' 'bash' 'boost-libs') +makedepends=('ctags' 'boost') +options=('!libtool') +install=$pkgname.install +source=("ftp://ftp.gnu.org/gnu/src-highlite/${pkgname}-${pkgver}.tar.gz") +md5sums=('becf8292b84ece6b532b0f0c92b530ee') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-bash-completion=${pkgdir}/etc/bash_completion.d + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make prefix="${pkgdir}/usr" install + rm -rf ${pkgdir}/usr/share/info/dir +} |