[arch-commits] Commit in enjarify/repos/community-staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 19:36:04 UTC 2020
Date: Thursday, November 12, 2020 @ 19:36:04
Author: felixonmars
Revision: 753547
archrelease: copy trunk to community-staging-any
Added:
enjarify/repos/community-staging-any/PKGBUILD
(from rev 753543, enjarify/trunk/PKGBUILD)
Deleted:
enjarify/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 19:36:02 UTC (rev 753546)
+++ PKGBUILD 2020-11-12 19:36:04 UTC (rev 753547)
@@ -1,45 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Lance Chen <cyen0312 at gmail.com>
-
-pkgname=enjarify
-pkgver=1.0.3
-_gitcommit=c4fb7e047a457ab580a3c8577aa76fd53ce967b0
-pkgrel=4
-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:
Copied: enjarify/repos/community-staging-any/PKGBUILD (from rev 753543, enjarify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 19:36:04 UTC (rev 753547)
@@ -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=5
+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