diff options
author | int | 2017-10-18 11:49:02 +0200 |
---|---|---|
committer | int | 2017-10-18 11:49:02 +0200 |
commit | 54197fed8f54892bca6e9d95a95f4945a5aa4a68 (patch) | |
tree | 873b3871c5348125955e54952fe796e52c3ab96a | |
download | aur-54197fed8f54892bca6e9d95a95f4945a5aa4a68.tar.gz |
Perl/CPAN Module WebService::ILS
This is one of the (optional) perl-dependencies of Koha: https://koha-community.org/
Start "./koha_perl_deps.pl -a" after downloading and unpacking
the koha-tarball for a list of all packages (required and optional).
This is with the cpan2aur-bugfix,
see https://rt.cpan.org/Public/Bug/Display.html?id=123153 for details.
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6a4f760c88e8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = perl-webservice-ils + pkgdesc = Perl/CPAN Module WebService::ILS: Standardised library discovery/circulation services + pkgver = 0.16 + pkgrel = 1 + url = https://metacpan.org/release/WebService-ILS + arch = any + license = PerlArtistic + license = GPL + depends = perl-class-tiny + depends = perl-http-message + depends = perl-hash-merge + depends = perl-json + depends = perl-modern-perl + depends = perl-uri + depends = perl-libwww + depends = perl>=5.8.1 + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/S/SR/SRDJAN/WebService-ILS-0.16.tar.gz + md5sums = 4892e70cfa21a80d2edc210dd677bee6 + sha512sums = 459f3078e0b502377605f1f4f9886f7cc2ca26fc4edaa02dcb54c8d458d0a57ad28678c0ad4be84b13c768efb68be40a8d8bead88106affc4929b20cba8df928 + +pkgname = perl-webservice-ils + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8f5236d2ad7d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer : int <int [ate] arcor [dot] de> +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname='perl-webservice-ils' +pkgver='0.16' +pkgrel='1' +pkgdesc="Perl/CPAN Module WebService::ILS: Standardised library discovery/circulation services" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-class-tiny' 'perl-http-message' 'perl-hash-merge' 'perl-json' 'perl-modern-perl' 'perl-uri' 'perl-libwww' 'perl>=5.8.1') +makedepends=() +url='https://metacpan.org/release/WebService-ILS' +source=("http://search.cpan.org/CPAN/authors/id/S/SR/SRDJAN/WebService-ILS-$pkgver.tar.gz") +md5sums=('4892e70cfa21a80d2edc210dd677bee6') +sha512sums=('459f3078e0b502377605f1f4f9886f7cc2ca26fc4edaa02dcb54c8d458d0a57ad28678c0ad4be84b13c768efb68be40a8d8bead88106affc4929b20cba8df928') +_distdir="WebService-ILS-$pkgver" + +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 Build.PL + /usr/bin/perl Build + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + /usr/bin/perl Build test + ) +} + +package() { + cd "$srcdir/$_distdir" + /usr/bin/perl Build 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: |