summaryrefslogtreecommitdiff
path: root/community/html2text/PKGBUILD
blob: db2a328ce59f6140844da9982ab876bec39db3a0 (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
# $Id: PKGBUILD 60804 2011-12-18 13:31:52Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=html2text
pkgver=1.3.2a
pkgrel=9.1
pkgdesc="A HTML to text converter"
arch=('i686' 'x86_64' 'mips64el')
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)
sha256sums=('000b39d5d910b867ff7e087177b470a1e26e2819920dcffd5991c33f6d480392')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}

  ./configure
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}

  install -D -m755 $pkgname ${pkgdir}/usr/bin/$pkgname
  install -D -m644 $pkgname.1.gz ${pkgdir}/usr/share/man/man1/$pkgname.1.gz
  install -D -m644 html2textrc.5.gz ${pkgdir}/usr/share/man/man5/html2textrc.5.gz
}