summaryrefslogtreecommitdiff
path: root/community/perl-gtk2-mozembed/PKGBUILD
blob: 556db8447d96f5244e43272976225d4bed12daa6 (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
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 47713 2011-05-25 02:25:45Z tdziedzic $
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Maintainer: Corrado Primier <bardo@aur.archlinux.org>

pkgname=perl-gtk2-mozembed
pkgver=0.09
pkgrel=1
pkgdesc="Interface to the Mozilla embedding widget"
arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Gtk2-MozEmbed"
license=('GPL' 'PerlArtistic')
depends=('perl-extutils-pkgconfig>=1.03' 'gtk2-perl>=1.081' 'perl-extutils-depends>=0.20' 'xulrunner>1.9')
options=('!emptydirs')
source=("http://www.cpan.org/authors/id/T/TS/TSCH/Gtk2-MozEmbed-${pkgver}.tar.gz")
md5sums=('8c391fbe1ebf23a0af22d5ad3b571f19')

build() {
  cd  Gtk2-MozEmbed-${pkgver}

  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor

  make
}

package() {
  cd  Gtk2-MozEmbed-${pkgver}

  make install DESTDIR=${pkgdir}

  find ${pkgdir} -name '.packlist' -delete
  find ${pkgdir} -name '*.pod' -delete
}