summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormaz-12015-10-17 23:13:22 +0800
committermaz-12015-10-17 23:13:22 +0800
commit29359afaed60ea247d2cb8700e1b78ae1931d76b (patch)
tree974312013f716fa8fe5d9e94d4ad463bb94f0659
downloadaur-29359afaed60ea247d2cb8700e1b78ae1931d76b.tar.gz
init
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD49
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2b48a23221e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = perl-autobox
+ pkgdesc = call methods on native types
+ pkgver = 2.83
+ pkgrel = 1
+ url = http://search.cpan.org/dist/autobox
+ arch = i686
+ arch = x86_64
+ license = PerlArtistic
+ license = GPL
+ depends = perl-scope-guard>=0.20
+ depends = perl>=5.8.0
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/C/CH/CHOCOLATE/autobox-2.83.tar.gz
+ md5sums = 7a4b2c4c644e6f02ccb1d964fabebde5
+ sha512sums = 2c347ee61240ba7ba8fdf0bddebceab554c602ce673a524255a73ee7b53a9765f9679bd613f796f74e6588ebfd6beb877fa6f49720fa6da108f91ebb365b1dc6
+
+pkgname = perl-autobox
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b80bf451c24
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Contributor: chimeracoder <dev@chimeracoder.net>
+# Generator : CPANPLUS::Dist::Arch 1.29
+
+pkgname='perl-autobox'
+pkgver='2.83'
+pkgrel='1'
+pkgdesc="call methods on native types"
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-scope-guard>=0.20' 'perl>=5.8.0')
+makedepends=()
+url='http://search.cpan.org/dist/autobox'
+source=('http://search.cpan.org/CPAN/authors/id/C/CH/CHOCOLATE/autobox-2.83.tar.gz')
+md5sums=('7a4b2c4c644e6f02ccb1d964fabebde5')
+sha512sums=('2c347ee61240ba7ba8fdf0bddebceab554c602ce673a524255a73ee7b53a9765f9679bd613f796f74e6588ebfd6beb877fa6f49720fa6da108f91ebb365b1dc6')
+_distdir="autobox-2.83"
+
+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: