summaryrefslogtreecommitdiff
path: root/testing/pango-perl/PKGBUILD
blob: ad489dec456303ecf02596dc53e36e9dd771df55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 124899 2011-05-25 01:24:25Z foutrelis $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=pango-perl
_realname=Pango
pkgver=1.221
pkgrel=4
pkgdesc="Perl bindings for Pango"
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')
options=('!emptydirs')
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
md5sums=('8d257209aa11bd6c3a2beb235c2f103f')

build() {
  cd "${srcdir}/${_realname}-${pkgver}"
  # install module in vendor directories.
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR="${pkgdir}"
}