diff options
author | Erich Eckner <git@eckner.net> | 2016-04-08 16:35:07 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-11 11:29:20 +0200 |
commit | 7cdf29328f60f968a74a68ebd4c44acb3f7f95cc (patch) | |
tree | ad5b07fd5f20078a004207414b95a766b89b6cdc | |
parent | 00e408a461db449dca7cb04582a88a613685bfed (diff) | |
download | archlinuxewe.git.save-7cdf29328f60f968a74a68ebd4c44acb3f7f95cc.tar.xz |
perl-syntax-highlight-perl neu
-rw-r--r-- | perl-syntax-highlight-perl/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/perl-syntax-highlight-perl/PKGBUILD b/perl-syntax-highlight-perl/PKGBUILD new file mode 100644 index 00000000..f9fe494b --- /dev/null +++ b/perl-syntax-highlight-perl/PKGBUILD @@ -0,0 +1,27 @@ +# Contributor: Ondrej Kucera <ondrej.kucera@centrum.cz> + +pkgname=perl-syntax-highlight-perl +_perlmod=Syntax-Highlight-Perl +pkgver=1.0 +pkgrel=4 +pkgdesc="Syntax-Highlight-Perl perl module (highlighting of Perl Syntactical Structures)" +arch=("any") +url="http://search.cpan.org/~johnsca/Syntax-Highlight-Perl/" +license=("GPL" "Artistic") +depends=('perl>=5.10.0') +source=(http://search.cpan.org/CPAN/authors/id/J/JO/JOHNSCA/$_perlmod-$pkgver.tar.gz) +sha512sums=('be1959493fb563137095e0b151fa56fe2192d1c4bf52e2ef32d6d2310b821a905e675a443e4cfb83da7d0dfa4cc267ac087d49d0ee807a07413cf839621ebe8b') +options=(!emptydirs) + +build() { + cd $srcdir/$_perlmod-$pkgver + + # Install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/$_perlmod-$pkgver + make install DESTDIR="$pkgdir/" +} |