summaryrefslogtreecommitdiff
path: root/build-support/pango-perl-nocheck
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-10 09:47:35 +0200
committerErich Eckner <git@eckner.net>2017-07-10 09:47:35 +0200
commit18d4d6a220977e1e6980dcb8f35c8caeba68dbba (patch)
treeee4a9f6ae63cae883db08075286dd20536251a12 /build-support/pango-perl-nocheck
parent5dc5cda5a57bda38dc57aa4466dc214051c68392 (diff)
downloadpackages-18d4d6a220977e1e6980dcb8f35c8caeba68dbba.tar.xz
rather modify pango-perl instead of introducing pango-perl-nocheck
Diffstat (limited to 'build-support/pango-perl-nocheck')
-rw-r--r--build-support/pango-perl-nocheck/PKGBUILD37
1 files changed, 0 insertions, 37 deletions
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 <jgc@archlinux.org>
-
-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;
-}