[arch-commits] Commit in perl-object-accessor/repos (2 files)

Florian Pritz bluewind at archlinux.org
Wed Aug 1 09:17:42 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:17:42
  Author: bluewind
Revision: 366358

archrelease: copy trunk to community-staging-any

Added:
  perl-object-accessor/repos/community-staging-any/
  perl-object-accessor/repos/community-staging-any/PKGBUILD
    (from rev 366357, perl-object-accessor/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: perl-object-accessor/repos/community-staging-any/PKGBUILD (from rev 366357, perl-object-accessor/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 09:17:42 UTC (rev 366358)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-object-accessor
+pkgver=0.48
+pkgrel=4
+pkgdesc='Per object accessors'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl)
+url=https://metacpan.org/release/Object-Accessor
+source=("http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Object-Accessor-$pkgver.tar.gz")
+md5sums=(46a3ce50d8817938cecbb8e02eda9500)
+sha512sums=(fbce10e8db2cfb360cdc093355a95c9d49909069beb725fca9812ee6e6b77e0648d63d56db9fbdcdf03f885b3954a67c516fa066229280279940704231d48448)
+_ddir="Object-Accessor-$pkgver"
+
+build()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
+)
+
+check()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+)
+
+package()
+(
+  cd "$srcdir/$_ddir"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+  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:



More information about the arch-commits mailing list