diff options
author | mutantmonkey | 2013-12-13 18:20:26 -0800 |
---|---|---|
committer | mutantmonkey | 2013-12-13 18:20:26 -0800 |
commit | c96f573b30c0b05c7cc36661be255daa7604dd7a (patch) | |
tree | aaf72b5db5b68847e912e6e7521e3cafacb5745b | |
download | aur-c96f573b30c0b05c7cc36661be255daa7604dd7a.tar.gz |
add perl-mousex-{getopt,types-path-class,types}
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..23facfe17883 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = perl-mousex-types-path-class + pkgdesc = A Path::Class type library for Mouse + pkgver = 0.07 + pkgrel = 1 + url = http://search.cpan.org/~MASAKI/MouseX-Types-Path-Class-0.07/ + arch = any + license = GPL + license = PerlArtistic + depends = perl>=5.10.0 + depends = perl-mousex-types + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/M/MA/MASAKI/MouseX-Types-Path-Class-0.07.tar.gz + sha256sums = 228d4b4f3f0ed9547278691d0b7c5fe53d90874a69df709a49703c6af87c09de + +pkgname = perl-mousex-types-path-class + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a235090d4183 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: mutantmonkey <aur@mutantmonkey.in> +_author=MASAKI +_perlmod=MouseX-Types-Path-Class +pkgname=perl-mousex-types-path-class +pkgver=0.07 +pkgrel=1 +pkgdesc="A Path::Class type library for Mouse" +arch=('any') +url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0' 'perl-mousex-types') +options=(!emptydirs) +source=(http://search.cpan.org/CPAN/authors/id/M/MA/$_author/$_perlmod-$pkgver.tar.gz) +sha256sums=('228d4b4f3f0ed9547278691d0b7c5fe53d90874a69df709a49703c6af87c09de') + +build() { + cd "$srcdir/$_perlmod-$pkgver" + + # Install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir/$_perlmod-$pkgver" + make install DESTDIR="$pkgdir/" +} + +# vim:set ts=2 sw=2 et: |