summaryrefslogtreecommitdiff
path: root/community/html2text/PKGBUILD
blob: ecccaae48398e08944e342aa66d8aaf158ab9bb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 5125 2009-11-06 16:14:08Z ibiru $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>

pkgname=html2text
pkgver=1.3.2a
pkgrel=8
pkgdesc="A HTML to text converter"
arch=('i686' 'x86_64')
url="http://www.mbayer.de/html2text"
license=('GPL2')
depends=('gcc-libs')
source=(http://ftp.ibiblio.org/pub/linux/apps/www/converters/$pkgname-$pkgver.tar.gz)
md5sums=('6097fe07b948e142315749e6620c9cfc')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure
  make || return 1
  install -D -m 755 html2text $pkgdir/usr/bin/html2text
  install -D -m 644 html2text.1.gz $pkgdir/usr/share/man/man1/html2text.1.gz
  install -D -m 644 html2textrc.5.gz $pkgdir/usr/share/man/man5/html2textrc.5.gz
}