[arch-commits] Commit in perl-text-bibtex/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 10:59:42 UTC 2019


    Date: Saturday, May 25, 2019 @ 10:59:42
  Author: foutrelis
Revision: 354228

archrelease: copy trunk to staging-x86_64

Added:
  perl-text-bibtex/repos/staging-x86_64/
  perl-text-bibtex/repos/staging-x86_64/PKGBUILD
    (from rev 354227, perl-text-bibtex/trunk/PKGBUILD)

----------+
 PKGBUILD |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Copied: perl-text-bibtex/repos/staging-x86_64/PKGBUILD (from rev 354227, perl-text-bibtex/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-05-25 10:59:42 UTC (rev 354228)
@@ -0,0 +1,47 @@
+# $ID$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=perl-text-bibtex
+_dist=Text-BibTeX
+pkgver=0.85
+pkgrel=3
+pkgdesc="Perl interface to read and parse BibTeX files"
+arch=('x86_64')
+url="https://metacpan.org/release/${_dist}"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+makedepends=('perl-module-build'
+             'perl-config-autoconf'
+             'perl-extutils-libbuilder')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/A/AM/AMBS/${_dist}-${pkgver}.tar.gz)
+# Checksums from http://search.cpan.org/CPAN/authors/id/A/AM/AMBS/CHECKSUMS
+md5sums=('eff0352d6de29a8d4d61efcc7774186c')
+sha256sums=('1005455f09ad5d39ebf6b45c87106a7341cbe5a7b25251dd05c7c960d7ebd30c')
+
+prepare() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    # Don't install to /usr/lib64
+    sed -i s,lib64,lib,g Build.PL
+}
+
+build() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+    perl Build.PL
+    ./Build
+}
+
+check() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1
+    ./Build test
+}
+
+package() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    ./Build install installdirs=vendor destdir="$pkgdir"
+}



More information about the arch-commits mailing list