summaryrefslogtreecommitdiff
path: root/extra/pango-perl/PKGBUILD
blob: e0c903a57b1ed334231131a6398af2fc721d59c9 (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
25
26
27
28
29
30
31
# $Id: PKGBUILD 143689 2011-11-28 12:08:52Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=pango-perl
pkgver=1.223
pkgrel=1
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/Pango-${pkgver}.tar.gz)
md5sums=('628a6de54f47b6791c6b45edfb835215')

build() {
  cd "${srcdir}/Pango-${pkgver}"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd "${srcdir}/Pango-${pkgver}"
  make test
}

package() { 
  cd "${srcdir}/Pango-${pkgver}"
  make install DESTDIR="${pkgdir}"
}