[arch-commits] Commit in enjarify/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Nov 12 21:23:16 UTC 2016


    Date: Saturday, November 12, 2016 @ 21:23:15
  Author: anthraxx
Revision: 195466

archrelease: copy trunk to community-any

Added:
  enjarify/repos/community-any/PKGBUILD
    (from rev 195465, enjarify/trunk/PKGBUILD)
Deleted:
  enjarify/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   87 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 45 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-12 21:23:08 UTC (rev 195465)
+++ PKGBUILD	2016-11-12 21:23:15 UTC (rev 195466)
@@ -1,42 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Lance Chen <cyen0312 at gmail.com>
-
-pkgname=enjarify
-pkgver=1.0.2
-pkgrel=1
-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:

Copied: enjarify/repos/community-any/PKGBUILD (from rev 195465, enjarify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-11-12 21:23:15 UTC (rev 195466)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Lance Chen <cyen0312 at gmail.com>
+
+pkgname=enjarify
+pkgver=1.0.2
+_gitcommit=bc16a63aa852d411d8af1c2f12e04c8ef407c361
+pkgrel=2
+pkgdesc='Translates Dalvik bytecode to equivalent Java bytecode'
+url='https://github.com/google/enjarify'
+arch=('any')
+license=('Apache')
+depends=("python")
+makedepends=('git')
+source=(${pkgname}::"git+https://github.com/google/enjarify#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+prepare() {
+  cd ${pkgname}
+  sed 's| -Xss515m||g' -i enjarify/runtests.py
+  sed 's|for bits in range(256):|for opts in [options.NONE, options.PRETTY, options.ALL]:|' -i enjarify/hashtests.py
+  sed '/options.Options/d' -i enjarify/hashtests.py
+  sed 's|bits|0|g' -i enjarify/hashtests.py
+}
+
+build() {
+  cd ${pkgname}
+  python -m compileall .
+  python -O -m compileall .
+}
+
+check() {
+  cd ${pkgname}
+  LC_CTYPE=en_US.UTF-8 python -m enjarify.hashtests
+}
+
+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