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

Rémy Oudompheng remy at archlinux.org
Mon Jun 27 22:54:44 UTC 2016


    Date: Monday, June 27, 2016 @ 22:54:44
  Author: remy
Revision: 270745

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

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

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

Copied: perl-text-bibtex/repos/testing-i686/PKGBUILD (from rev 270744, perl-text-bibtex/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-06-27 22:54:44 UTC (rev 270745)
@@ -0,0 +1,46 @@
+# $ID$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=perl-text-bibtex
+_dist=Text-BibTeX
+pkgver=0.74
+pkgrel=1
+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=('1bd024c079b71a30e3565fe103ddf333')
+sha512sums=('7648b644bba6f732346b36271e39c9915ddbe5c3226428b05cb26b6df55b2e13a5d7278fbcdbf766096c9b0eb8fa3924f7c90c4aa105f66bc44459363324c45c')
+
+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/testing-x86_64/PKGBUILD (from rev 270744, perl-text-bibtex/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-06-27 22:54:44 UTC (rev 270745)
@@ -0,0 +1,46 @@
+# $ID$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=perl-text-bibtex
+_dist=Text-BibTeX
+pkgver=0.74
+pkgrel=1
+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=('1bd024c079b71a30e3565fe103ddf333')
+sha512sums=('7648b644bba6f732346b36271e39c9915ddbe5c3226428b05cb26b6df55b2e13a5d7278fbcdbf766096c9b0eb8fa3924f7c90c4aa105f66bc44459363324c45c')
+
+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