summaryrefslogtreecommitdiff
path: root/extra/pango-perl/PKGBUILD
blob: 2c1da6bf5367c81b11d984cc601c934da78c7657 (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 160501 2012-06-02 10:26:50Z bluewind $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=pango-perl
pkgver=1.223
pkgrel=2
pkgdesc="Perl bindings for Pango"
arch=(i686 x86_64 'mips64el')
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}"
}