smali: update to 2.2.4. (#2100)
This commit is contained in:
parent
25ac2eb498
commit
9be467b063
|
@ -1,33 +1,30 @@
|
||||||
# Template file for 'smali'
|
# Template file for 'smali'
|
||||||
pkgname=smali
|
pkgname=smali
|
||||||
version=2.2.2
|
version=2.2.4
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="An assembler/disassembler for Android's dex format"
|
build_style=fetch
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
||||||
license="Simplified BSD"
|
|
||||||
homepage="https://github.com/JesusFreke/smali"
|
|
||||||
depends="virtual?java-runtime"
|
depends="virtual?java-runtime"
|
||||||
|
short_desc="Assembler/disassembler for Android's dex format"
|
||||||
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
homepage="https://github.com/JesusFreke/smali"
|
||||||
distfiles="
|
distfiles="
|
||||||
https://bitbucket.org/JesusFreke/smali/downloads/smali-${version}.jar
|
https://bitbucket.org/JesusFreke/smali/downloads/smali-${version}.jar
|
||||||
https://bitbucket.org/JesusFreke/smali/downloads/baksmali-${version}.jar
|
https://bitbucket.org/JesusFreke/smali/downloads/baksmali-${version}.jar
|
||||||
https://raw.githubusercontent.com/JesusFreke/smali/v${version}/NOTICE"
|
https://raw.githubusercontent.com/JesusFreke/smali/v${version}/NOTICE"
|
||||||
checksum="5ec0ce98146d36c5826f1fbf362180a0a264ce0a31d50b8c24833975b47d98e6
|
checksum="67b5d4e6dc9e663610bd06d307ecc5087cf862fc1c255704ef1f7b755dc9e634
|
||||||
cf7484d8c090fedfa9cd35215144ffabda43c30afd35e00b57c1cf53bde4c66f
|
75a82ea60c014614fa62696115dc72ceae77167ae6b110f5435569bd98f9b6d7
|
||||||
2fdfd360744a49b461eaf016088205c45926596f0106c26553cb90b1adc5a046"
|
2fdfd360744a49b461eaf016088205c45926596f0106c26553cb90b1adc5a046"
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
do_extract() {
|
|
||||||
:
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/share/smali
|
vmkdir usr/share/smali
|
||||||
vcopy ${XBPS_SRCDISTDIR}/${pkgname}-${version}/smali-${version}.jar usr/share/smali
|
vcopy smali-${version}.jar usr/share/smali
|
||||||
vcopy ${XBPS_SRCDISTDIR}/${pkgname}-${version}/baksmali-${version}.jar usr/share/smali
|
vcopy baksmali-${version}.jar usr/share/smali
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
for f in smali baksmali; do
|
for f in smali baksmali; do
|
||||||
sed -e "s,@VERSION@,${version},g" ${FILESDIR}/${f} > ${DESTDIR}/usr/bin/${f}
|
sed -e "s,@VERSION@,${version},g" ${FILESDIR}/${f} > ${DESTDIR}/usr/bin/${f}
|
||||||
chmod 0755 ${DESTDIR}/usr/bin/${f}
|
chmod 0755 ${DESTDIR}/usr/bin/${f}
|
||||||
done
|
done
|
||||||
vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/NOTICE
|
vlicense NOTICE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue