diff options
author | Thiago L. A. Miller | 2018-08-28 00:41:04 -0300 |
---|---|---|
committer | Thiago L. A. Miller | 2018-08-28 00:41:04 -0300 |
commit | 94e950935f7f14fbd7d8f738de168d3859b9ac21 (patch) | |
tree | e20bc9812a420676927473154f5e8f36730af191 | |
download | aur-94e950935f7f14fbd7d8f738de168d3859b9ac21.tar.gz |
First commit - $Compress::BGZF::VERSION = 0.005
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 46 |
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bce184072fe0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = perl-compress-bgzf + pkgdesc = Read/write blocked GZIP (BGZF) files + pkgver = 0.005 + pkgrel = 1 + url = https://metacpan.org/pod/Compress::BGZF + arch = any + license = PerlArtistic + license = GPL + depends = perl>=5.012 + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/V/VO/VOLKENING/Compress-BGZF-0.005.tar.gz + md5sums = 1ed412dc27cc43bd2aa6750c220b9fca + +pkgname = perl-compress-bgzf + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e20245338b32 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.tar.gz +*.tar.xz +/pkg/ +/src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..819872eaa13f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Thiago L. A. Miller <thiago_leisrael@hotmail.com> +pkgname=perl-compress-bgzf +pkgver=0.005 +pkgrel=1 +pkgdesc="Read/write blocked GZIP (BGZF) files" +arch=('any') +url='https://metacpan.org/pod/Compress::BGZF' +license=('PerlArtistic' 'GPL') +depends=('perl>=5.012') +makedepends=() +options=('!emptydirs') +source=('http://search.cpan.org/CPAN/authors/id/V/VO/VOLKENING/Compress-BGZF-0.005.tar.gz') +md5sums=('1ed412dc27cc43bd2aa6750c220b9fca') +_distdir="Compress-BGZF-$pkgver" + +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: |