diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 49 |
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..61c9bbb7e5e8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by makepkg 6.0.2 +# Fri Mar 10 15:55:21 UTC 2023 +pkgbase = perl-config-ini-reader-ordered + pkgdesc = .ini-file parser that returns sections in order + pkgver = 0.022 + pkgrel = 1 + url = https://metacpan.org/release/Config-INI-Reader-Ordered + arch = any + license = PerlArtistic + license = GPL + depends = perl-config-ini>=0 + depends = perl>=5.012 + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Config-INI-Reader-Ordered-0.022.tar.gz + md5sums = d0f595f053ee1ab7474ca1f429f966df + sha512sums = 027e66e76ab4b7857b8aa85de740f614a56a958262de664c2dd8d58890f839799d5433c6699eeb38eb4f72d0111d0df55df05201e3a360a4775ddd0bf4d3a1d7 + +pkgname = perl-config-ini-reader-ordered diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..8a5cafba2b8e --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/* +!/.gitignore +!/PKGBUILD +!/.SRCINFO +!/*.install diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8f20bf9f83e9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,49 @@ +# Contributor: Anonymous +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname='perl-config-ini-reader-ordered' +pkgver='0.022' +pkgrel='1' +pkgdesc=".ini-file parser that returns sections in order" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-config-ini>=0' 'perl>=5.012') +makedepends=() +url='https://metacpan.org/release/Config-INI-Reader-Ordered' +source=('http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Config-INI-Reader-Ordered-0.022.tar.gz') +md5sums=('d0f595f053ee1ab7474ca1f429f966df') +sha512sums=('027e66e76ab4b7857b8aa85de740f614a56a958262de664c2dd8d58890f839799d5433c6699eeb38eb4f72d0111d0df55df05201e3a360a4775ddd0bf4d3a1d7') +_distdir="Config-INI-Reader-Ordered-0.022" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: |