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

Levente Polyak anthraxx at archlinux.org
Mon Aug 24 22:15:57 UTC 2020


    Date: Monday, August 24, 2020 @ 22:15:56
  Author: anthraxx
Revision: 687862

archrelease: copy trunk to community-any

Added:
  smali/repos/community-any/PKGBUILD
    (from rev 687861, smali/trunk/PKGBUILD)
Deleted:
  smali/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-24 22:15:53 UTC (rev 687861)
+++ PKGBUILD	2020-08-24 22:15:56 UTC (rev 687862)
@@ -1,50 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Firef0x <Firefgx (at) gmail (dot) com>
-# Contributor: sh0 <mee at sh0.org>
-# Contributor: Lekensteyn <lekensteyn at gmail.com>
-
-pkgname=smali
-pkgver=2.3.4
-pkgrel=1
-pkgdesc="Assembler/disassembler for Android's dex format"
-url='https://github.com/JesusFreke/smali'
-arch=('any')
-license=('BSD')
-depends=('java-runtime=8' 'bash')
-makedepends=('java-environment=8' 'gradle')
-source=(https://github.com/JesusFreke/${pkgname}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz)
-sha256sums=('d364ebb60ac954cac7c974d72def897a373430fcd4e3349816743147fbaba375')
-sha512sums=('6eb761b4e42d96628b11103b97b1a0c22d396fafe031444bc54b86fe43263a9501136e480521662061a09d62935e666f408677680533e8ba9b82e4555b097841')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  for file in baksmali smali; do
-    # prevent from printing path on launch
-    sed '/echo ${newProg}/d' -i scripts/${file}
-    # fix ls path
-    sed 's|/bin/ls|/usr/bin/ls|' -i scripts/${file}
-  done
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  gradle build
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  gradle test
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -d "${pkgdir}/usr/bin"
-  for file in baksmali smali; do
-    install -Dm 644 "${file}/build/libs/${file}.jar" "${pkgdir}/usr/share/java/${pkgname}/${file}.jar"
-    install -Dm 755 scripts/${file} "${pkgdir}/usr/share/java/${pkgname}/${file}"
-    ln -s "/usr/share/java/${pkgname}/${file}" "${pkgdir}/usr/bin/${file}"
-  done
-  install -Dm 644 NOTICE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: smali/repos/community-any/PKGBUILD (from rev 687861, smali/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-24 22:15:56 UTC (rev 687862)
@@ -0,0 +1,50 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Firef0x <Firefgx (at) gmail (dot) com>
+# Contributor: sh0 <mee at sh0.org>
+# Contributor: Lekensteyn <lekensteyn at gmail.com>
+
+pkgname=smali
+pkgver=2.4.0
+pkgrel=1
+pkgdesc="Assembler/disassembler for Android's dex format"
+url='https://github.com/JesusFreke/smali'
+arch=('any')
+license=('BSD')
+depends=('java-runtime=8' 'bash')
+makedepends=('java-environment=8' 'gradle')
+source=(https://github.com/JesusFreke/${pkgname}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz)
+sha512sums=('ae06594f9091990d5f63b830facc916284d5010ab448cbdb1662ba5c3c5105d97167fe51b50fe21f71a7a27fb3049952b7daff11567856800237eb1a068754cf')
+b2sums=('1d52af58c454a61d2aec9ccfa0131c17410ff9fe5fc61acc5dcd5ce42d36e211a91b6301e7ece63e9daf83af0b754f23b89b0b3630e8f0daec040eae47a8fbba')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  for file in baksmali smali; do
+    # prevent from printing path on launch
+    sed '/echo ${newProg}/d' -i scripts/${file}
+    # fix ls path
+    sed 's|/bin/ls|/usr/bin/ls|' -i scripts/${file}
+  done
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  gradle build
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  gradle test
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -d "${pkgdir}/usr/bin"
+  for file in baksmali smali; do
+    install -Dm 644 "${file}/build/libs/${file}.jar" "${pkgdir}/usr/share/java/${pkgname}/${file}.jar"
+    install -Dm 755 scripts/${file} "${pkgdir}/usr/share/java/${pkgname}/${file}"
+    ln -s "/usr/share/java/${pkgname}/${file}" "${pkgdir}/usr/bin/${file}"
+  done
+  install -Dm 644 NOTICE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list