# Template file for 'android-tools' pkgname=android-tools version=34.0.4 revision=2 archs="armv* aarch64* x86_64* i686* ppc64le* riscv64*" build_style=cmake hostmakedepends="perl go protobuf pkg-config" makedepends="gtest-devel zlib-devel libusb-devel pcre2-devel liblz4-devel libzstd-devel protobuf-devel brotli-devel abseil-cpp-devel" depends="python3" short_desc="Android platform tools (adb and fastboot)" maintainer="John " license="Apache-2.0, ISC, GPL-2.0-only, MIT" homepage="https://developer.android.com/tools/help/adb.html" distfiles="https://github.com/nmeum/android-tools/releases/download/${version}/android-tools-${version}.tar.xz" checksum=7a22ff9cea81ff4f38f560687858e8f8fb733624412597e3cc1ab0262f8da3a1 post_install() { # zsh's built in works, while this one doesn't rm -f $DESTDIR/usr/share/zsh/site-functions/_adb vlicense vendor/boringssl/LICENSE boringssl.LICENSE vlicense vendor/boringssl/third_party/fiat/LICENSE fiat.LICENSE vsv adb }