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

View file

@ -1,22 +1,24 @@
# Template file for 'smali' # Template file for 'smali'
pkgname=smali pkgname=smali
version=2.0.3 version=2.1.1
revision=3 revision=1
short_desc="An assembler/disassembler for Android's dex format" short_desc="An assembler/disassembler for Android's dex format"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Simplified BSD" license="Simplified BSD"
homepage="https://code.google.com/p/smali/" homepage="https://github.com/JesusFreke/smali"
depends="virtual?java-runtime" depends="virtual?java-runtime"
distfiles=" distfiles="
https://smali.googlecode.com/files/smali-${version}.jar https://bitbucket.org/JesusFreke/smali/downloads/smali-${version}.jar
https://smali.googlecode.com/files/baksmali-${version}.jar" https://bitbucket.org/JesusFreke/smali/downloads/baksmali-${version}.jar
checksum=" https://raw.githubusercontent.com/JesusFreke/smali/v${version}/NOTICE"
2460a3b764b6f185de505523d644f1a877c17e02427f3b042ed8a74b03c0a66c checksum="593f084064f8e3b77b0a211f9b94227fe31e3bfde2af558cc31382e0e3c68cc7
9373a47d8ed39021de36004f6bbc1d5c7efc2c61906251aa56a06440a67c8878" 085a84923745af8878d81f8c97b7fd046309e74c4ce97ebcdb218aaaf5256770
8eb3770690019bb26a1d550970a8f19cb12ac60d89a7fc977bf4f1e99db04c79"
do_extract() { 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 ${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} 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
} }