[arch-commits] Commit in enjarify/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed Dec 21 12:04:34 UTC 2016
Date: Wednesday, December 21, 2016 @ 12:04:33
Author: anthraxx
Revision: 200765
archrelease: copy trunk to community-any
Added:
enjarify/repos/community-any/PKGBUILD
(from rev 200764, enjarify/trunk/PKGBUILD)
Deleted:
enjarify/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-12-21 12:04:20 UTC (rev 200764)
+++ PKGBUILD 2016-12-21 12:04:33 UTC (rev 200765)
@@ -1,45 +0,0 @@
-# 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:
Copied: enjarify/repos/community-any/PKGBUILD (from rev 200764, enjarify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-12-21 12:04:33 UTC (rev 200765)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Lance Chen <cyen0312 at gmail.com>
+
+pkgname=enjarify
+pkgver=1.0.3
+_gitcommit=c4fb7e047a457ab580a3c8577aa76fd53ce967b0
+pkgrel=1
+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 -a 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