[arch-commits] Commit in perl-inline-java/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 12:11:08 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:11:08
Author: foutrelis
Revision: 366685
archrelease: copy trunk to community-staging-x86_64
Added:
perl-inline-java/repos/community-staging-x86_64/
perl-inline-java/repos/community-staging-x86_64/PKGBUILD
(from rev 366684, perl-inline-java/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: perl-inline-java/repos/community-staging-x86_64/PKGBUILD (from rev 366684, perl-inline-java/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-08-01 12:11:08 UTC (rev 366685)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Wael Nasreddine <gandalf at siemens-mobiles.org>
+
+pkgname=perl-inline-java
+pkgver=0.58
+pkgrel=6
+pkgdesc="The Inline::Java module allows you to put Java source code directly inline in a Perl script or module."
+arch=('x86_64')
+depends=('perl' 'perl-inline' 'java-runtime')
+makedepends=('java-environment=7')
+license=("GPL" "PerlArtistic")
+url="http://search.cpan.org/dist/Inline-Java"
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETJ/Inline-Java-$pkgver.tar.gz)
+md5sums=('6f3b7d1fe8c7d263f44c52b94205023a')
+
+build() {
+ cd "$srcdir"/Inline-Java-$pkgver
+ PERL_USE_UNSAFE_INC=1 \
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor J2SDK=/usr/lib/jvm/java-7-openjdk
+ make java
+ make
+}
+package() {
+ cd "$srcdir"/Inline-Java-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list