summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD46
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bce184072fe
--- /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 00000000000..e20245338b3
--- /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 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: