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

Felix Yan felixonmars at archlinux.org
Mon May 24 10:44:40 UTC 2021


    Date: Monday, May 24, 2021 @ 10:44:40
  Author: felixonmars
Revision: 416200

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 416197, perl-text-bibtex/trunk/PKGBUILD)

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

Copied: perl-text-bibtex/repos/staging-x86_64/PKGBUILD (from rev 416197, perl-text-bibtex/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-05-24 10:44:40 UTC (rev 416200)
@@ -0,0 +1,47 @@
+# $ID$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=perl-text-bibtex
+_dist=Text-BibTeX
+pkgver=0.85
+pkgrel=7
+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=(https://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