diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ec46cc0c4ad7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Jose Riha <jose1711 gmail com> + +pkgname=perl-gtk2-sourceview2 +_cpanname=Gtk2-SourceView2 +pkgver=0.10 +pkgrel=4 +pkgdesc="Perl interface to the GtkSourceView library" +arch=('any') +url="http://search.cpan.org/~POTYL/${_cpanname}" +license=('GPL') +depends=('gtksourceview2' 'pango-perl' 'gtk2-perl' 'perl-extutils-depends' 'perl-extutils-pkgconfig') +options=('!emptydirs') +source=(http://cpan.metacpan.org/authors/id/P/PO/POTYL/${_cpanname}-${pkgver}.tar.gz) +md5sums=('87e81e182fe013bb445f211e5e407029') + +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 +} |