summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoranthraxx2016-11-12 22:23:40 +0100
committeranthraxx2016-11-12 22:23:40 +0100
commit9375c635880bffabbd873324b84fd9e374713147 (patch)
tree1ba4d882018be1d023a08528d957200cbe011a4c
parentb9a65087b1b93f42ef4f0a7b79b39a6190ace731 (diff)
downloadaur-enjarify-git.tar.gz
upgpkg: enjarify-git 1.0.2.57.2a94b40-1
upstream release
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fcb14353b683..a177d0de5d35 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,10 @@
-# Generated by mksrcinfo v8
-# Tue Jan 5 17:23:54 UTC 2016
pkgbase = enjarify-git
pkgdesc = Translates Dalvik bytecode to equivalent Java bytecode
- pkgver = 1.0.0.29.bf9033b
+ pkgver = 1.0.2.57.2a94b40
pkgrel = 1
url = https://github.com/google/enjarify
arch = any
license = Apache
- checkdepends = java-runtime
makedepends = git
depends = python
provides = enjarify
diff --git a/PKGBUILD b/PKGBUILD
index 89c34a585c30..57f009615edd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,14 @@
# Contributor: Lance Chen <cyen0312@gmail.com>
pkgname=enjarify-git
-pkgver=1.0.0.29.bf9033b
+pkgver=1.0.2.57.2a94b40
pkgrel=1
-pkgdesc="Translates Dalvik bytecode to equivalent Java bytecode"
-url="https://github.com/google/enjarify"
+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')
provides=('enjarify')
conflicts=('enjarify')
source=(${pkgname}::git+https://github.com/google/enjarify)
@@ -25,6 +24,9 @@ pkgver() {
prepare() {
cd ${pkgname}
sed -r '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() {
@@ -35,7 +37,7 @@ build() {
check() {
cd ${pkgname}
- LC_CTYPE=en_US.UTF-8 python -m enjarify.runtests
+ LC_CTYPE=en_US.UTF-8 python -m enjarify.hashtests
}
package() {