[arch-commits] Commit in smali/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sun Sep 27 16:50:56 UTC 2015
Date: Sunday, September 27, 2015 @ 18:50:56
Author: anthraxx
Revision: 141714
archrelease: copy trunk to community-any
Added:
smali/repos/community-any/PKGBUILD
(from rev 141713, smali/trunk/PKGBUILD)
Deleted:
smali/repos/community-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-27 16:50:50 UTC (rev 141713)
+++ PKGBUILD 2015-09-27 16:50:56 UTC (rev 141714)
@@ -1,49 +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.0.7
-pkgrel=2
-pkgdesc="An assembler/disassembler for Android's dex format"
-arch=('any')
-url="https://github.com/JesusFreke/smali"
-license=('BSD')
-depends=('java-runtime' 'bash')
-makedepends=('java-environment' 'gradle')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/JesusFreke/${pkgname}/archive/v${pkgver}.tar.gz)
-sha512sums=('64285c967ad5b7567ab4b901710da2b56629151f7afa062774ce9e9c1131da4453b8c5fbde59f8c5cad459393b9ac233191a15058611781fd7b0f8a749c38c9f')
-
-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 --gradle-user-home=. build
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- gradle --gradle-user-home=. test
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- install -d "${pkgdir}/usr/bin"
- for file in baksmali smali; do
- install -Dm 644 "${file}/build/libs/${file}-${pkgver}-dev.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 141713, smali/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-27 16:50:56 UTC (rev 141714)
@@ -0,0 +1,49 @@
+# 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.0.8
+pkgrel=1
+pkgdesc="An assembler/disassembler for Android's dex format"
+arch=('any')
+url="https://github.com/JesusFreke/smali"
+license=('BSD')
+depends=('java-runtime' 'bash')
+makedepends=('java-environment' 'gradle')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/JesusFreke/${pkgname}/archive/v${pkgver}.tar.gz)
+sha512sums=('e56c82b7d48ec0bad8a570cbcb4163755e338ba1e422335393e841fbc093b710539c9fadd07d99968eb8180c3357f731ced6ff7b02ba062f21e9cb29ffff8ad9')
+
+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 --gradle-user-home=. build
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ gradle --gradle-user-home=. test
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -d "${pkgdir}/usr/bin"
+ for file in baksmali smali; do
+ install -Dm 644 "${file}/build/libs/${file}-${pkgver}-dev.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