Merge pull request #3398 from ebfe/fix-smali

smali: fix launch script permissions
This commit is contained in:
Juan RP 2016-01-19 06:24:32 +01:00
commit 5337c7a2e0

View file

@ -1,7 +1,7 @@
# Template file for 'smali' # Template file for 'smali'
pkgname=smali pkgname=smali
version=2.0.3 version=2.0.3
revision=2 revision=3
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"
@ -24,5 +24,6 @@ do_install() {
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}
done done
} }