diff options
author | John D Jones III | 2015-06-16 16:12:39 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 16:12:39 -0600 |
commit | 84e0c6d0693efab3a0cf20cbda7eec8088dcaa4b (patch) | |
tree | 939b94f14585d60e1942306267eb54acaf515bc7 | |
download | aur-84e0c6d0693efab3a0cf20cbda7eec8088dcaa4b.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4765ad31ad20 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = perl-unicode-normalize + pkgdesc = Unicode Normalization Forms + pkgver = 1.18 + pkgrel = 1 + url = http://search.mcpan.org/dist/Unicode-Normalize + arch = any + license = PerlArtistic + license = GPL + depends = perl + options = !emptydirs + source = http://search.mcpan.org/CPAN/authors/id/S/SA/SADAHIRO/Unicode-Normalize-1.18.tar.gz + md5sums = 41060b0a2715fcaf4d337b417736a574 + sha512sums = e76adbada2ba21306bd34d1296af63f6ad9994c88789338104ff64d1983895a4aeb7b7c66b0f483429450ba2683759d58818380aa8452cde966ee539a7352e75 + +pkgname = perl-unicode-normalize + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..71532fd71c36 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.29 + +pkgname='perl-unicode-normalize' +pkgver='1.18' +pkgrel='1' +pkgdesc="Unicode Normalization Forms" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='http://search.mcpan.org/dist/Unicode-Normalize' +source=('http://search.mcpan.org/CPAN/authors/id/S/SA/SADAHIRO/Unicode-Normalize-1.18.tar.gz') +md5sums=('41060b0a2715fcaf4d337b417736a574') +sha512sums=('e76adbada2ba21306bd34d1296af63f6ad9994c88789338104ff64d1983895a4aeb7b7c66b0f483429450ba2683759d58818380aa8452cde966ee539a7352e75') +_distdir="Unicode-Normalize-1.18" + +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: |