summaryrefslogtreecommitdiff
path: root/extra/cairo-perl/PKGBUILD
blob: aa8a93a812727f73932849a17bfcbfef63ff20d5 (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
# $Id: PKGBUILD 104389 2011-01-02 04:22:32Z kevin $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=cairo-perl
_realname=Cairo
pkgver=1.061
pkgrel=3
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.12.1')
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
}

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