summaryrefslogtreecommitdiff
path: root/community/html2text/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/html2text/PKGBUILD')
-rw-r--r--community/html2text/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/community/html2text/PKGBUILD b/community/html2text/PKGBUILD
index ecccaae48..38fee9ebe 100644
--- a/community/html2text/PKGBUILD
+++ b/community/html2text/PKGBUILD
@@ -1,23 +1,30 @@
-# $Id: PKGBUILD 5125 2009-11-06 16:14:08Z ibiru $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# $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=8
+pkgrel=9
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')
+source=(http://ftp.ibiblio.org/pub/linux/apps/www/converters/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('000b39d5d910b867ff7e087177b470a1e26e2819920dcffd5991c33f6d480392')
build() {
- cd $srcdir/$pkgname-$pkgver
+ 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
+ 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
+}