From f99268f797c120a24030a573ef22813cd018beb5 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 22 Oct 2022 16:29:29 +0100 Subject: Added unrar --- repo/android-tools/android-tools.xibuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 repo/android-tools/android-tools.xibuild (limited to 'repo/android-tools/android-tools.xibuild') diff --git a/repo/android-tools/android-tools.xibuild b/repo/android-tools/android-tools.xibuild new file mode 100644 index 0000000..4ad7009 --- /dev/null +++ b/repo/android-tools/android-tools.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +NAME="android-tools" +DESC="Android platform tools" + +MAKEDEPS="pcre2 linux-headers libusb gtest go perl cmake protobuf brotli zstd lz4 ninja" + +PKG_VER=31.0.3p2 +SOURCE="https://github.com/nmeum/android-tools/releases/download/$PKG_VER/android-tools-$PKG_VER.tar.xz" + +build() { + cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=None + cmake --build build +} + +package() { + DESTDIR="$PKG_DEST" cmake --install build +} + -- cgit v1.2.1