summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ae1ee77b2b6781ccfb4eb6b7111be1f7162bb24f (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
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Maintainer: jose1711 <at> gmail <dot> com

pkgname=perl-gnome2-vte
_cpanname=Gnome2-Vte
pkgver=0.11
pkgrel=6
pkgdesc="Perl interface to the Virtual Terminal Emulation library "
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="http://search.cpan.org/~TSCH/${_cpanname}"
license=('GPL' 'PerlArtistic')
depends=('perl-extutils-pkgconfig>=1.03' 'gtk2-perl>=1.00' 'glib-perl>=1.01' 'perl-extutils-depends>=0.20' 'vte-legacy')
options=('!emptydirs')
source=("http://cpan.metacpan.org/authors/id/X/XA/XAOC/${_cpanname}-${pkgver}.tar.gz")
md5sums=('1cb5cdfcd41873e55e923e72e64d922c')

build() {
  cd $srcdir/${_cpanname}-${pkgver}
  sed -i '/^auto_install/d' Makefile.PL
  PERL_MM_USE_DEFAULT=1 PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
  PERL_USE_UNSAFE_INC=1 make
}

package() {
  cd $srcdir/${_cpanname}-${pkgver}
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}