[arch-commits] Commit in perl-text-bibtex/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 11:18:25 UTC 2018
Date: Wednesday, August 1, 2018 @ 11:18:24
Author: bluewind
Revision: 330187
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 330186, perl-text-bibtex/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: perl-text-bibtex/repos/staging-x86_64/PKGBUILD (from rev 330186, perl-text-bibtex/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-08-01 11:18:24 UTC (rev 330187)
@@ -0,0 +1,47 @@
+# $ID$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=perl-text-bibtex
+_dist=Text-BibTeX
+pkgver=0.85
+pkgrel=2
+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