blob: 36f457808acec1c0f8e7e1c83a6aef94c350f0f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: farwayer <farwayer@gmail.com>
_ver=33
_android=android-13
pkgname=android-sdk-build-tools-$_ver
pkgver=r$_ver
pkgrel=1
pkgdesc='Build-Tools for Google Android SDK (aapt, aidl, dexdump, dx, llvm-rs-cc)'
arch=('x86_64')
url='https://developer.android.com/studio/releases/build-tools'
license=('custom')
depends=('gcc-libs' 'zlib')
optdepends=('lib32-gcc-libs' 'lib32-zlib')
source=("https://dl-ssl.google.com/android/repository/build-tools_${pkgver}-linux.zip")
sha256sums=('e05d68c15b67b0f2d32263234ea3a7a228c2e6ce3d3345b9371b5c5f5292f66e')
options=('!strip')
package() {
cd "$pkgdir"
install -Dm644 "${srcdir}/$_android/NOTICE.txt" usr/share/licenses/$pkgname/NOTICE.txt
mkdir -p opt/android-sdk/build-tools/$_ver
cp -r "$srcdir/$_android/"* "$pkgdir/opt/android-sdk/build-tools/$_ver"
chmod +Xr -R "$pkgdir/opt/android-sdk/build-tools/$_ver"
}
|