diff options
author | Eduardo Reveles | 2015-06-11 16:17:55 -0500 |
---|---|---|
committer | Eduardo Reveles | 2015-06-11 16:17:55 -0500 |
commit | 37c51013f6f36ebef66009d074725a1b3e339b85 (patch) | |
tree | b709e2b7870b2dcb714fde2c494c7073502fb805 | |
download | aur-perl-class-gomor.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..00e7fe13d638 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = perl-class-gomor + pkgdesc = another class and object builder + pkgver = 1.03 + pkgrel = 1 + url = https://metacpan.org/release/Class-Gomor + arch = any + license = GPL + license = PerlArtistic + depends = perl + options = !emptydirs + options = purge + source = http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Class-Gomor-1.03.tar.gz + md5sums = 701c0d407574cd5bb1c52537a63ac276 + sha512sums = b5447df8a8ef5d6c28ffedb6effaf8e2723f347acec244b6251254d1a0651039b7ebb44d7171c3437ae48810342471bd7dbda4b9c3ea2a2030075ef9de106920 + +pkgname = perl-class-gomor + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..45f6ae564c5c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Contributor: Eduardo Reveles <me at osiux dot ws> +# Generator : CPANPLUS::Dist::Arch 1.28 + +pkgname=perl-class-gomor +pkgver=1.03 +pkgrel=1 +pkgdesc="another class and object builder" +_dist=Class-Gomor +arch=('any') +url="https://metacpan.org/release/$_dist" +license=('GPL' 'PerlArtistic') +depends=(perl) +options=('!emptydirs' purge) +source=("http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/$_dist-$pkgver.tar.gz") +md5sums=('701c0d407574cd5bb1c52537a63ac276') +sha512sums=('b5447df8a8ef5d6c28ffedb6effaf8e2723f347acec244b6251254d1a0651039b7ebb44d7171c3437ae48810342471bd7dbda4b9c3ea2a2030075ef9de106920') + +build() ( + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + /usr/bin/perl Makefile.PL + make +) + +check() ( + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +) + +package() ( + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +)
\ No newline at end of file |