You are not logged in.
Here is a PKGBUILD to install HTML-Table Perl module into your Arch.
Perl modules are quite annoying to package, I digged into the Perl documentation but it was quite difficult to get some useful info out of it.
I also looked to existing packages and saw it's quite a mess (different packaging styles and different ways to adapt them to the Arch way).
I hope my choices are correct, please feel free to provide me with any feedback if there's a better way to have the work done. ;-)
pkgname=perl-html-table
pkgver=2.02
pkgrel=1
pkgdesc="Perl Module: Create HTML tables using simple interface"
depends=('perl')
makedepends=('findutils')
#backup=()
source=(http://www.cpan.org/modules/by-module/HTML/HTML-Table-$pkgver.tar.gz)
url="http://search.cpan.org/dist/HTML-Table/"
md5sums=('1c307b8fbb06d2ccbe08714632b418d9')
build() {
cd $startdir/src/HTML-Table-$pkgver
perl Makefile.PL PREFIX=/usr DESTDIR=$startdir/pkg
make || return 1
make test || return 1
make DESTDIR=$startdir/pkg install
# Remove unneeded files.
#
find $startdir/pkg -name perllocal.pod -exec rm -f {} ;
find $startdir/pkg -name .packlist -exec rm -f {} ;
}
Offline
Thanks for a nice template
Offline
I second that.
Using the find command would be better than the current method of 'rm'ing the perllocal.pod and .packlist files manually.
P.S.-Have you uploaded the pkgbuild to the aur yet?
O.T.-Maybe the maintainers could use this template? I've built a few perl modules too, and not being knowledgable on shell commands, I've simply been copying the PKGBUILDs from abs. I would suggest you send a mail to the tur mailing list with this template.
Thanks
Offline