You are not logged in.

#1 2005-01-13 18:11:51

BlueRaven
Member
Registered: 2004-10-28
Posts: 14

[NEW - bugfixed] perl-configreader

Here is a PKGBUILD to install ConfigReader 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.
This version fixes a bug in the layout of the files.

pkgname=perl-configreader
pkgver=0.5
pkgrel=2
pkgdesc="Perl Module: A set of classes for reading configuration files."
depends=('perl')
makedepends=('findutils')
#backup=()
source=(http://www.cpan.org/modules/by-module/ConfigReader/ConfigReader-$pkgver.tar.gz)
url="http://search.cpan.org/dist/ConfigReader/"
md5sums=('469a77797740e7dd70ab902d0ac8081d')

build() {
  cd $startdir/src/ConfigReader-$pkgver
  mkdir -p $startdir/pkg/usr/lib/perl5/site_perl/current/ConfigReader
  cp *.pm $startdir/pkg/usr/lib/perl5/site_perl/current/ConfigReader
}

Offline

Board footer

Powered by FluxBB