[arch-commits] Commit in enjarify/repos (community-any community-any/PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Tue Jan 5 17:29:14 UTC 2016
Date: Tuesday, January 5, 2016 @ 18:29:14
Author: anthraxx
Revision: 155530
archrelease: copy trunk to community-any
Added:
enjarify/repos/community-any/
enjarify/repos/community-any/PKGBUILD
(from rev 155529, enjarify/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: enjarify/repos/community-any/PKGBUILD (from rev 155529, enjarify/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2016-01-05 17:29:14 UTC (rev 155530)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Lance Chen <cyen0312 at gmail.com>
+
+pkgname=enjarify
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="Translates Dalvik bytecode to equivalent Java bytecode"
+url="https://github.com/google/enjarify"
+arch=('any')
+license=('Apache')
+depends=("python")
+makedepends=('git')
+checkdepends=('java-runtime')
+source=(${pkgname}::"git+https://github.com/google/enjarify#tag=${pkgver}")
+sha512sums=('SKIP')
+
+prepare() {
+ cd ${pkgname}
+ sed -r 's| -Xss515m||g' -i enjarify/runtests.py
+}
+
+build() {
+ cd ${pkgname}
+ python -m compileall .
+ python -O -m compileall .
+}
+
+check() {
+ cd ${pkgname}
+ LC_CTYPE=en_US.UTF-8 python -m enjarify.runtests
+}
+
+package() {
+ cd ${pkgname}
+ install -d "${pkgdir}/usr/lib/enjarify"
+ cp -R enjarify enjarify.sh "${pkgdir}/usr/lib/enjarify"
+ install -d "${pkgdir}/usr/bin"
+ ln -s /usr/lib/enjarify/enjarify.sh "${pkgdir}/usr/bin/enjarify"
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list