From 18d4d6a220977e1e6980dcb8f35c8caeba68dbba Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 10 Jul 2017 09:47:35 +0200 Subject: rather modify pango-perl instead of introducing pango-perl-nocheck --- build-support/pango-perl-nocheck/PKGBUILD | 37 ------------------------------- extra/pango-perl/PKGBUILD | 2 ++ 2 files changed, 2 insertions(+), 37 deletions(-) delete mode 100644 build-support/pango-perl-nocheck/PKGBUILD create mode 100644 extra/pango-perl/PKGBUILD diff --git a/build-support/pango-perl-nocheck/PKGBUILD b/build-support/pango-perl-nocheck/PKGBUILD deleted file mode 100644 index 5867b738..00000000 --- a/build-support/pango-perl-nocheck/PKGBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot - -pkgname=pango-perl-nocheck -pkgver=1.227 -pkgrel=4 -pkgdesc="Perl bindings for Pango -- without check()" -arch=(i686 x86_64) -license=('LGPL') -url="http://gtk2-perl.sourceforge.net/" -makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends') -depends=('pango' 'glib-perl' 'cairo-perl') -provides=("pango-perl=${pkgver}") -replaces=('pango-perl') -conflicts=('pango-perl') -options=('!emptydirs') -source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Pango-${pkgver}.tar.gz) -md5sums=('cc5d7ca7780adcc5cee7cc41f2fc0440') - -build() { - cd Pango-$pkgver - export PERL_USE_UNSAFE_INC=1 - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor - make -} - -package() { - cd Pango-$pkgver - make install DESTDIR="${pkgdir}" -# template start; name=perl-binary-module-dependency; version=1; -if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then - _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') - _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') - depends+=("perl>=$_perlver_min" "perl<$_perlver_max") -fi -# template end; -} diff --git a/extra/pango-perl/PKGBUILD b/extra/pango-perl/PKGBUILD new file mode 100644 index 00000000..6403c888 --- /dev/null +++ b/extra/pango-perl/PKGBUILD @@ -0,0 +1,2 @@ +unset check +unset checkdepends -- cgit v1.2.3-70-g09d2