summaryrefslogtreecommitdiff
path: root/testing/cairo-perl/PKGBUILD
blob: b697e5e161430a9df9704249b440758b009e090e (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
32
# $Id: PKGBUILD 124873 2011-05-24 21:13:32Z remy $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=cairo-perl
_realname=Cairo
pkgver=1.061
pkgrel=4
pkgdesc="Perl wrappers for cairo"
arch=(i686 x86_64)
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
options=('!emptydirs')
depends=('cairo>=1.8.10' 'perl>=5.14')
makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
md5sums=('08cd5e847f61858651fc4de769066e88')

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

check() {
  cd "${srcdir}/${_realname}-${pkgver}"
  make test || true
}

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