summaryrefslogtreecommitdiffstats
path: root/arch/tde-deps/perl-text-bibtex
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-04-25 02:08:58 +0200
committerSlávek Banko <slavek.banko@axis.cz>2023-04-25 03:20:10 +0200
commit183f62d73b68c294aeea5ec453fb19a7c3caed27 (patch)
tree9e29614ba3f46e6bcd2217127c8d7ceca1ec0ed5 /arch/tde-deps/perl-text-bibtex
parentfefef1b0cb5b95684809e7b3f24e67fbe25ce718 (diff)
downloadtde-packaging-183f62d73b68c294aeea5ec453fb19a7c3caed27.tar.gz
tde-packaging-183f62d73b68c294aeea5ec453fb19a7c3caed27.zip
ArchLinux: Update for final R14.1.0.
Add pkgbuilds for several applications. Add pkgbuilds for dependencies that are not available on archlinuxpower.org. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-deps/perl-text-bibtex')
-rw-r--r--arch/tde-deps/perl-text-bibtex/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/tde-deps/perl-text-bibtex/PKGBUILD b/arch/tde-deps/perl-text-bibtex/PKGBUILD
new file mode 100644
index 000000000..203b53875
--- /dev/null
+++ b/arch/tde-deps/perl-text-bibtex/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Rémy Oudompheng <remy@archlinux.org>
+
+pkgname=perl-text-bibtex
+_dist=Text-BibTeX
+pkgver=0.89
+pkgrel=1
+pkgdesc="Perl interface to read and parse BibTeX files"
+arch=('powerpc64le')
+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=('67fa6d9c03c659627d9fd58bb380c1fe')
+sha256sums=('88a78ebf088ec7502f401c5a2b138c862cf5458534b773223bbf3aaf41224196')
+
+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"
+}