diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/perl-gtk2-mozembed/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/perl-gtk2-mozembed/PKGBUILD')
-rw-r--r-- | community/perl-gtk2-mozembed/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/perl-gtk2-mozembed/PKGBUILD b/community/perl-gtk2-mozembed/PKGBUILD new file mode 100644 index 000000000..fdc78ab73 --- /dev/null +++ b/community/perl-gtk2-mozembed/PKGBUILD @@ -0,0 +1,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') +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 +} |