summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 53370da564fc11143a6bb2e8358106c8f72c1cd4 (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.12
pkgrel=1
pkgdesc="Perl interface to the Virtual Terminal Emulation library"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://metacpan.org/pod/Gnome2::Vte"
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=('c1b1bc9845e7285dd015f3aa4b7e6a7a')

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
}