summaryrefslogtreecommitdiff
path: root/community/perl-gtk2-webkit
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-gtk2-webkit')
-rw-r--r--community/perl-gtk2-webkit/PKGBUILD28
1 files changed, 18 insertions, 10 deletions
diff --git a/community/perl-gtk2-webkit/PKGBUILD b/community/perl-gtk2-webkit/PKGBUILD
index 038f4748a..269e6080a 100644
--- a/community/perl-gtk2-webkit/PKGBUILD
+++ b/community/perl-gtk2-webkit/PKGBUILD
@@ -1,24 +1,32 @@
-# $Id: PKGBUILD 44460 2011-04-07 16:27:39Z spupykin $
+# $Id: PKGBUILD 47720 2011-05-25 02:33:54Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
pkgname=perl-gtk2-webkit
-pkgver=0.08
-pkgrel=3
+pkgver=0.09
+pkgrel=1
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')
+depends=('perl' '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')
+source=(http://www.cpan.org/authors/id/F/FL/FLORA/Gtk2-WebKit-${pkgver}.tar.gz)
+md5sums=('e696fc2b15d6189370e19bce9a9e56f3')
build() {
- cd $srcdir/Gtk2-WebKit-$pkgver
+ cd 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
+}
+
+package() {
+ cd Gtk2-WebKit-${pkgver}
+
+ make install DESTDIR=${pkgdir}
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
}