[arch-commits] Commit in perl-inline-java/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 11:55:04 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:55:03
  Author: foutrelis
Revision: 470544

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 470543, perl-inline-java/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: perl-inline-java/repos/community-staging-x86_64/PKGBUILD (from rev 470543, perl-inline-java/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 11:55:03 UTC (rev 470544)
@@ -0,0 +1,29 @@
+# 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=7
+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="https://search.cpan.org/dist/Inline-Java"
+options=('!emptydirs')
+source=(https://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