summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorThiago L. A. Miller2018-08-28 00:41:04 -0300
committerThiago L. A. Miller2018-08-28 00:41:04 -0300
commit94e950935f7f14fbd7d8f738de168d3859b9ac21 (patch)
treee20bc9812a420676927473154f5e8f36730af191 /PKGBUILD
downloadaur-perl-compress-bgzf.tar.gz
First commit - $Compress::BGZF::VERSION = 0.005
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..819872eaa13
--- /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: