summaryrefslogtreecommitdiff
path: root/community/perl-gtk2-webkit/PKGBUILD
blob: 038f4748a9c6e1aa3bc2c93a28f697455fe6bd98 (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
# $Id: PKGBUILD 44460 2011-04-07 16:27:39Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>

pkgname=perl-gtk2-webkit
pkgver=0.08
pkgrel=3
pkgdesc="Gtk2::WebKit"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Gtk2-WebKit"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'gtk2-perl' 'libwebkit' 'perl-extutils-depends' 'perl-extutils-pkgconfig')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/F/FL/FLORA/Gtk2-WebKit-$pkgver.tar.gz)
md5sums=('5dc7e0ea470754f6e24e40e54da942ee')

build() {
  cd  $srcdir/Gtk2-WebKit-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}