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

Felix Yan felixonmars at archlinux.org
Fri Jun 2 05:16:24 UTC 2017


    Date: Friday, June 2, 2017 @ 05:16:24
  Author: felixonmars
Revision: 297399

archrelease: copy trunk to staging-i686, staging-x86_64

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

-------------------------+
 staging-i686/PKGBUILD   |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

Copied: perl-text-bibtex/repos/staging-i686/PKGBUILD (from rev 297398, perl-text-bibtex/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-06-02 05:16:24 UTC (rev 297399)
@@ -0,0 +1,46 @@
+# $ID$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=perl-text-bibtex
+_dist=Text-BibTeX
+pkgver=0.77
+pkgrel=2
+pkgdesc="Perl interface to read and parse BibTeX files"
+arch=('i686' '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)
+md5sums=('0811516b5d25ca922d950d571514c7ae')
+sha512sums=('b212560ff9aa87cc23154fa6ccca80c307ae4111b24c8184e65e2332a273936a8e3a3131e5056839e4126790f26ef3ce8170d7e3393a8ea3841c7532319e6ee2')
+
+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"
+}

Copied: perl-text-bibtex/repos/staging-x86_64/PKGBUILD (from rev 297398, perl-text-bibtex/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-06-02 05:16:24 UTC (rev 297399)
@@ -0,0 +1,46 @@
+# $ID$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=perl-text-bibtex
+_dist=Text-BibTeX
+pkgver=0.77
+pkgrel=2
+pkgdesc="Perl interface to read and parse BibTeX files"
+arch=('i686' '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)
+md5sums=('0811516b5d25ca922d950d571514c7ae')
+sha512sums=('b212560ff9aa87cc23154fa6ccca80c307ae4111b24c8184e65e2332a273936a8e3a3131e5056839e4126790f26ef3ce8170d7e3393a8ea3841c7532319e6ee2')
+
+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