summaryrefslogtreecommitdiff
path: root/community/perl-gtk2-mozembed/PKGBUILD
blob: 63f1f4702f667b8e76a1293ffd8d677858c251d8 (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 42141 2011-03-13 22:19:27Z spupykin $
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Maintainer: Corrado Primier <bardo@aur.archlinux.org>

pkgname=perl-gtk2-mozembed
pkgver=0.08
pkgrel=4
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"
        'missing-pixbuf.patch')
md5sums=('ddafafa0e2684050a5d8b9f2c15f6dca'
         '82313ca5da7dafdae0a8890f031d07f9')

build() {
  # fix https://rt.cpan.org/Public/Bug/Display.html?id=61063
  patch -Np0 -i ${srcdir}/missing-pixbuf.patch
  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
}