blob: 37a41356a4a4a3729e027a7ff36abcc1880a7864 (
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
26
|
pkgname=android-configure
pkgver=2
pkgrel=2
arch=(any)
pkgdesc="configure wrapper for Android (android)"
depends=('android-environment' 'android-pkg-config')
license=("GPL")
url="https://aur.archlinux.org/packages/android-configure"
source=("android-configure.sh")
md5sums=('d26b9335ae85d8063592dad0419335f7')
_architectures="aarch64 armv7a-eabi x86 x86-64"
build() {
for _arch in ${_architectures}; do
sed "s|@TRIPLE@|${_arch}|g" android-configure.sh > android-${_arch}-configure
done
}
package() {
install -d "${pkgdir}"/usr/bin
for _arch in ${_architectures}; do
install -m 755 android-${_arch}-configure "${pkgdir}"/usr/bin/
done
}
|