diff options
author | John D Jones III | 2015-06-16 14:51:49 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 14:51:49 -0600 |
commit | 46eff3736022a392796be33aadfe20c30e92ae68 (patch) | |
tree | f53bbab4e723bec745b789a5c8bd0bb8ae90c6a1 | |
download | aur-46eff3736022a392796be33aadfe20c30e92ae68.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0e78543f24d7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = perl-encode-detect + pkgdesc = An Encode::Encoding subclass that detects the encoding of data + pkgver = 1.01 + pkgrel = 1 + url = http://search.cpan.org/dist/Encode-Detect + arch = i686 + arch = x86_64 + license = PerlArtistic + license = GPL + depends = perl + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/J/JG/JGMYERS/Encode-Detect-1.01.tar.gz + md5sums = ee9faf55d7105c97b02b8ebe590819c7 + sha512sums = cc9c81f716dcb61abb321abd84e4ebb95a674d9aa34c4265f58cace38f6d15ef4f2b8338190ae7d200672e047b795a30ce6155f9c1b1c424e25d962579b96224 + +pkgname = perl-encode-detect + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..25aa15d58a15 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com> +# Generator : CPANPLUS::Dist::Arch 1.25 + +pkgname='perl-encode-detect' +pkgver='1.01' +pkgrel='1' +pkgdesc="An Encode::Encoding subclass that detects the encoding of data" +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='http://search.cpan.org/dist/Encode-Detect' +source=('http://search.cpan.org/CPAN/authors/id/J/JG/JGMYERS/Encode-Detect-1.01.tar.gz') +md5sums=('ee9faf55d7105c97b02b8ebe590819c7') +sha512sums=('cc9c81f716dcb61abb321abd84e4ebb95a674d9aa34c4265f58cace38f6d15ef4f2b8338190ae7d200672e047b795a30ce6155f9c1b1c424e25d962579b96224') +_distdir="Encode-Detect-1.01" + +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: |