# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # contributor: marcus fritzsch pkgname=gnuhtml2latex pkgver=0.3 pkgrel=1 pkgdesc="A Perl script that converts html files to latex" arch=('i686' 'x86_64') url="http://packages.debian.org/unstable/text/gnuhtml2latex" license=('GPL') depends=('perl-html-parser') source=(http://ftp.debian.org/debian/pool/main/g/gnuhtml2latex/${pkgname}_$pkgver.orig.tar.gz 'gnuhtml2latex.1') md5sums=('e54be498c003a17f8281b8485f1996ac' '7244aa248af45831a39394955067e75b') build() { cd $startdir/src/$pkgname-$pkgver mkdir -p $startdir/pkg/usr/bin/ $startdir/pkg/usr/share/man/man1 && \ install -m 755 $pkgname $startdir/pkg/usr/bin/ && \ install -m 644 $startdir/gnuhtml2latex.1 $startdir/pkg/usr/share/man/man1/ }