smali: update to 2.1.1.

This commit is contained in:
Michael Gehring 2016-01-20 08:24:37 +01:00
parent cd988ab008
commit 038bfb10d1
1 changed files with 11 additions and 8 deletions

View File

@ -1,22 +1,24 @@
# Template file for 'smali'
pkgname=smali
version=2.0.3
revision=3
version=2.1.1
revision=1
short_desc="An assembler/disassembler for Android's dex format"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Simplified BSD"
homepage="https://code.google.com/p/smali/"
homepage="https://github.com/JesusFreke/smali"
depends="virtual?java-runtime"
distfiles="
https://smali.googlecode.com/files/smali-${version}.jar
https://smali.googlecode.com/files/baksmali-${version}.jar"
checksum="
2460a3b764b6f185de505523d644f1a877c17e02427f3b042ed8a74b03c0a66c
9373a47d8ed39021de36004f6bbc1d5c7efc2c61906251aa56a06440a67c8878"
https://bitbucket.org/JesusFreke/smali/downloads/smali-${version}.jar
https://bitbucket.org/JesusFreke/smali/downloads/baksmali-${version}.jar
https://raw.githubusercontent.com/JesusFreke/smali/v${version}/NOTICE"
checksum="593f084064f8e3b77b0a211f9b94227fe31e3bfde2af558cc31382e0e3c68cc7
085a84923745af8878d81f8c97b7fd046309e74c4ce97ebcdb218aaaf5256770
8eb3770690019bb26a1d550970a8f19cb12ac60d89a7fc977bf4f1e99db04c79"
do_extract() {
:
}
do_install() {
vmkdir usr/share/smali
vcopy ${XBPS_SRCDISTDIR}/${pkgname}-${version}/smali-${version}.jar usr/share/smali
@ -26,4 +28,5 @@ do_install() {
sed -e "s,@VERSION@,${version},g" ${FILESDIR}/${f} > ${DESTDIR}/usr/bin/${f}
chmod 0755 ${DESTDIR}/usr/bin/${f}
done
vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/NOTICE
}