[arch-commits] Commit in android-tools/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 8 13:31:37 UTC 2021


    Date: Saturday, May 8, 2021 @ 13:31:37
  Author: foutrelis
Revision: 928838

archrelease: copy trunk to community-staging-x86_64

Added:
  android-tools/repos/community-staging-x86_64/
  android-tools/repos/community-staging-x86_64/PKGBUILD
    (from rev 928837, android-tools/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: android-tools/repos/community-staging-x86_64/PKGBUILD (from rev 928837, android-tools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-08 13:31:37 UTC (rev 928838)
@@ -0,0 +1,33 @@
+# Maintainer: Anatol Pomozov
+# Contributor: 謝致邦 <Yeking at Red54.com>
+# Contributor: Alucryd <alucryd at gmail dot com>
+
+pkgname=android-tools
+pkgver=31.0.0
+_tag=${pkgver}p1 # https://github.com/nmeum/android-tools sometimes carries extra patch version on top of the upstream versioning
+pkgrel=3
+pkgdesc='Android platform tools'
+arch=(x86_64)
+url='http://tools.android.com/'
+license=(Apache MIT)
+depends=(libusb protobuf brotli zstd android-udev)
+makedepends=(pcre2 gtest cmake go ninja)
+source=(https://github.com/nmeum/android-tools/releases/download/$_tag/android-tools-$_tag.tar.xz)
+sha256sums=('51a4c3ba5f16945905449c4bd2c1c781a4df7469f6b7362f8837f4f640d8c7b6')
+
+build() {
+  cd android-tools-$_tag
+
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+    -DCMAKE_C_FLAGS="$CFLAGS" \
+    -G Ninja -S . -B build
+}
+
+package() {
+  cd android-tools-$_tag
+
+  DESTDIR="${pkgdir}" ninja -C build install
+}



More information about the arch-commits mailing list