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

Levente Polyak anthraxx at archlinux.org
Wed Nov 1 19:28:33 UTC 2017


    Date: Wednesday, November 1, 2017 @ 19:28:33
  Author: anthraxx
Revision: 265044

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-01 19:28:24 UTC (rev 265043)
+++ PKGBUILD	2017-11-01 19:28:33 UTC (rev 265044)
@@ -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.2.1
-pkgrel=1
-pkgdesc="An 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=(${pkgname}-${pkgver}.tar.gz::https://github.com/JesusFreke/${pkgname}/archive/v${pkgver}.tar.gz)
-sha256sums=('b7257b674fa6538424d6489d83a09dae55146c8ec87f68d5a840d445cb6ac1af')
-sha512sums=('0d659d115025aa27a36f769a4df0b28457f5c63593fa2f64fd558a8311a2be19522566ccb4c51c4b0fccb200377d0f7f265fa4a437304f3e8ff8dce85b0640a2')
-
-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 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:

Copied: smali/repos/community-any/PKGBUILD (from rev 265043, smali/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-01 19:28:33 UTC (rev 265044)
@@ -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.2.2
+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=(${pkgname}-${pkgver}.tar.gz::https://github.com/JesusFreke/${pkgname}/archive/v${pkgver}.tar.gz)
+sha256sums=('c22943e2597979a3cbc646c8adec48458b3d3433afd260a39164fe8d9aeebfef')
+sha512sums=('04ad0dae97412965fbee958aaaca4ce45861c9bfa71a352d2cc4a9cf0a712c02af777b80460c0f70dac634004ca357ebf052bba3fa4dd9fd8cfe14c951a66e35')
+
+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 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list