diff options
author | camb | 2015-09-12 09:27:10 +1000 |
---|---|---|
committer | camb | 2015-09-12 09:27:10 +1000 |
commit | b4a1095d647842951269fa21dbf0e0761f61d654 (patch) | |
tree | a81daa58c32191c37ebaf0de0c8b7232e26f987f | |
download | aur-b4a1095d647842951269fa21dbf0e0761f61d654.tar.gz |
Initial commit
Conversion of package to git based AUR
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..67186b438b94 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = perl-io-tiecombine + pkgdesc = produce tied (and other) separate but combined variables + pkgver = 1.002 + pkgrel = 2 + url = https://metacpan.org/release/IO-TieCombine + arch = any + license = PerlArtistic + license = GPL + depends = perl + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IO-TieCombine-1.002.tar.gz + md5sums = 3f0508284dafe9f674237e99868ba3d2 + sha512sums = 66c779258177490d999d68b3fc7832a9121329760ae4879958edc49b28292c9d91c2599a531a39a0824e213264ed8d10a2de91545c67ee72c11e9c7cb8f56856 + +pkgname = perl-io-tiecombine + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..23c8fd24cc62 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Previous Packager: AUR Perl <aurperl@juster.info> +# Current Packager: Kent Fredric <kentnl@cpan.org> +pkgname=perl-io-tiecombine +pkgver=1.002 +pkgrel=2 +pkgdesc="produce tied (and other) separate but combined variables" +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl') +url=https://metacpan.org/release/IO-TieCombine +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IO-TieCombine-${pkgver}.tar.gz") +md5sums=('3f0508284dafe9f674237e99868ba3d2') +sha512sums=('66c779258177490d999d68b3fc7832a9121329760ae4879958edc49b28292c9d91c2599a531a39a0824e213264ed8d10a2de91545c67ee72c11e9c7cb8f56856') +_pkg_dir="IO-TieCombine" + +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}/${_pkg_dir}-${pkgver}" + /usr/bin/perl Makefile.PL + make +} + +check() { + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" HARNESS_OPTIONS=j10 + cd "${srcdir}/${_pkg_dir}-${pkgver}" + make test +} + +package() { + cd "${srcdir}/${_pkg_dir}-${pkgver}" + make DESTDIR="$pkgdir" install + find "$pkgdir" -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: |