summaryrefslogtreecommitdiff
path: root/extra/source-highlight/PKGBUILD
blob: 5f2c69b208f6788c611a389d54ecafb75f1458a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 124988 2011-05-25 16:07:54Z ibiru $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>

pkgname=source-highlight
pkgver=3.1.4
pkgrel=3
pkgdesc="Convert source code to syntax highlighted document"
arch=('i686' 'x86_64' 'mips64el')
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
}