archrelease: copy trunk to extra-x86_64
[arch-packages.git] / cairo-perl / repos / extra-x86_64 / PKGBUILD
blobff19b750b52e7ecf4ae375e7d94075f9daebe2aa
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 pkgname=cairo-perl
4 pkgver=1.109
5 pkgrel=2
6 pkgdesc="Perl wrappers for cairo"
7 arch=(x86_64)
8 license=('LGPL')
9 url="http://gtk2-perl.sourceforge.net/"
10 options=('!emptydirs')
11 depends=('cairo' 'perl')
12 makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
13 source=(https://downloads.sourceforge.net/sourceforge/gtk2-perl/Cairo-${pkgver}.tar.gz)
14 sha512sums=('b80841bff480acf95f69659cba02ca17c79b67a2dc5c9b9302efb15bbd79bd4bc2f1801c001c220723da11081e86a08a83e07ecc8866810ebf9406e1f6fa1c53')
16 build() {
17   cd Cairo-$pkgver
18   perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd Cairo-$pkgver
24   make test
27 package() {
28   cd Cairo-$pkgver
29   make DESTDIR="${pkgdir}" install