PKGBUILDs/extra/cairo-perl/PKGBUILD

26 lines
752 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=cairo-perl
_realname=Cairo
pkgver=1.061
pkgrel=1
pkgdesc="Perl wrappers for cairo"
2009-10-19 03:17:58 +00:00
arch=('arm')
2009-10-10 02:23:22 +00:00
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
options=('!emptydirs')
depends=('cairo>=1.8.6' 'perl>=5.10.0')
makedepends=('perl-extutils-depends>=0.300' 'perl-extutils-pkgconfig>=1.11')
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
md5sums=('08cd5e847f61858651fc4de769066e88')
build() {
cd "${srcdir}/${_realname}-${pkgver}"
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
find "${pkgdir}" -name '.packlist' -delete
find "${pkgdir}" -name 'perllocal.pod' -delete
}