summaryrefslogtreecommitdiff
path: root/pcr/perl-text-bibtex
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/perl-text-bibtex')
-rw-r--r--pcr/perl-text-bibtex/PKGBUILD39
-rw-r--r--pcr/perl-text-bibtex/perl-text-bibtex.patch43
2 files changed, 0 insertions, 82 deletions
diff --git a/pcr/perl-text-bibtex/PKGBUILD b/pcr/perl-text-bibtex/PKGBUILD
deleted file mode 100644
index aa3426051..000000000
--- a/pcr/perl-text-bibtex/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Contributor (Arch): Andreas dot Wagner at em dot uni-frankfurt dot de
-# Contributor: Márcio Silva <coadde@parabola.nu>
-
-pkgname=perl-text-bibtex
-_cpanname=Text-BibTeX
-pkgver=0.71
-pkgrel=1
-pkgdesc="Parse BibTeX files"
-arch=('any')
-url="http://search.cpan.org/dist/${_cpanname}"
-license=('GPL1')
-depends=('perl')
-makedepends=('perl-config-autoconf>=0.16' 'perl-extutils-libbuilder' \
- 'perl-capture-tiny' 'perl-module-build')
-options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/A/AM/AMBS/${_cpanname}-${pkgver}.tar.gz
- perl-text-bibtex.patch)
-
-prepare() {
- cd $srcdir/${_cpanname}-${pkgver}
- patch -Np1 -i "$srcdir/$pkgname.patch"
-}
-
-build() {
- cd $srcdir/${_cpanname}-${pkgver}
- perl Build.PL installdirs=vendor destdir=$pkgdir
- perl Build
- perl Build test
-}
-
-package() {
- cd $srcdir/${_cpanname}-${pkgver}
- perl Build install
- find $pkgdir -name '.packlist' -delete
- find $pkgdir -name '*.pod' -delete
-}
-
-md5sums=('a616d5df23dc0552a85608bd15bf03d1'
- '70f386b7ae62c32551db9d24222cedf1')
diff --git a/pcr/perl-text-bibtex/perl-text-bibtex.patch b/pcr/perl-text-bibtex/perl-text-bibtex.patch
deleted file mode 100644
index 71bbac912..000000000
--- a/pcr/perl-text-bibtex/perl-text-bibtex.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -Nur Text-BibTeX-0.71.orig/Build.PL Text-BibTeX-0.71/Build.PL
---- Text-BibTeX-0.71.orig/Build.PL 2015-05-28 11:50:47.000000000 -0300
-+++ Text-BibTeX-0.71/Build.PL 2016-01-03 18:17:49.479188491 -0300
-@@ -61,38 +61,7 @@
- ],
- );
-
--## HACK HACK HACK HACK
--my $libdir = $builder->install_destination("bin");
--if ($^O =~ /mswin32/i) {
-- $libdir = undef;
-- # Find a place where we can write.
-- my @folders = split /;/, $ENV{PATH};
-- my $installed = 0;
-- my $target = "text-bibtex.$$";
-- while(@folders && !$installed) {
-- $libdir = shift @folders;
--
-- copy("MANIFEST", catfile($libdir,$target));
-- $installed = 1 if -f catfile($libdir, $target);
-- }
-- if (!$installed) {
-- warn("Wasn't able to find a suitable place for libbtparse.dll!");
-- } else {
-- print STDERR "libbtparse.dll will be installed in $libdir\n";
-- unlink catfile($libdir, $target);
-- }
--} else {
-- if ($Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64/) {
-- $libdir =~ s/\bbin\b/lib64/;
-- if (!-d $libdir) {
-- my $test = $libdir;
-- $test =~ s/lib64/lib/;
-- $libdir = $test if -d $test;
-- }
-- } else {
-- $libdir =~ s/\bbin\b/lib/;
-- }
--}
-+my $libdir = '/usr/lib';
- $builder->notes('btparse_version' => $version);
- $builder->notes('lib_path' => $libdir);
- $builder->add_build_element('usrlib');