blob: 676aaab528b9fe19ab4305b22096c7eb14586961 (
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
|
# Maintainer: Jose Riha <jose1711 gmail com>
pkgname=perl-gtk2-sourceview2
_cpanname=Gtk2-SourceView2
pkgver=0.12
pkgrel=1
pkgdesc="Perl interface to the GtkSourceView library"
arch=('any')
url="https://metacpan.org/pod/Gtk2::SourceView2"
license=('GPL')
depends=('gtksourceview2' 'pango-perl' 'gtk2-perl' 'perl-extutils-depends' 'perl-extutils-pkgconfig')
options=('!emptydirs')
source=(http://cpan.metacpan.org/authors/id/X/XA/XAOC/${_cpanname}-${pkgver}.tar.gz)
md5sums=('7a3c49414ace5463978f6f458a241808')
build() {
cd $srcdir/${_cpanname}-${pkgver}
sed -i '/^auto_install/d' Makefile.PL
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/${_cpanname}-${pkgver}
make install DESTDIR=$pkgdir
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}
|