# $Id: PKGBUILD 104389 2011-01-02 04:22:32Z kevin $ # Maintainer: Jan de Groot pkgname=cairo-perl _realname=Cairo pkgver=1.061 pkgrel=3 pkgdesc="Perl wrappers for cairo" arch=(i686 x86_64 'mips64el') 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 }