summaryrefslogtreecommitdiff
path: root/extra/texi2html/PKGBUILD
blob: 222f4dd7006b8c57ddc6260f12fe26c5cf54906e (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
# $Id: PKGBUILD 65086 2010-01-24 10:15:30Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org

pkgname=texi2html
pkgver=1.82
pkgrel=1
pkgdesc="Converts texinfo documents to HTML"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.nongnu.org/texi2html/"
license=('GPL')
depends=('perl')
source=(http://www.very-clever.com/download/nongnu/texi2html/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  sed -i "s|mandir = /usr/man|mandir = \${prefix}/share/man|g" Makefile
  make || return 1
  make prefix=$startdir/pkg/usr install
  rm -r $startdir/pkg/usr/share/texinfo
  rm -r $startdir/pkg/usr/share/info
}
md5sums=('7ea537a8c81ffbf5421b39c0333e91df')