PKGBUILD

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
# Maintainer: TDY <[email protected]>

pkgname=perl-goo-canvas
pkgver=0.06
pkgrel=2
pkgdesc="Perl bindings for GooCanvas"
arch=('any')
url="http://search.cpan.org/dist/Goo-Canvas/"
license=('GPL' 'PerlArtistic')
depends=('cairo-perl' 'glib-perl' 'goocanvas1' 'gtk2-perl')
makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/Y/YE/YEWENBIN/Goo-Canvas-$pkgver.tar.gz)
md5sums=('7dfe0be8c17bfd641d18384d4fd8fb23')

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

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