blob: e22db9c3c6c5f33cbbad5798debd9412bd953fdb (
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
27
28
|
pkgname=blhelisuite32-bin
_pkgname=blhelisuite32
pkgver=1.0.2.4
pkgrel=1
pkgdesc="Configuration tool for BLHeli_32 based ESCs"
arch=('x86_64')
url="https://github.com/bitdump/BLHeli/tree/master/BLHeli_32%20ARM"
# Check Google Drive folder: https://drive.google.com/drive/folders/1Y1bUMnRRolmMD_lezL0FYd3aMBrNzCig
GDRIVENAME="BLHeliSuite32xLinux64_1024.zip"
GDRIVELINK="https://drive.google.com/file/d/1_At79E9t-X8fznPAXeIaDw8eTUxThpgg/view?usp=sharing"
source=("$GDRIVENAME::https://drive.google.com/uc?export=download&id=$(echo "$GDRIVELINK" | cut -d'/' -f 6)")
sha256sums=('db1b9ce374e2d8f913719500f38523bb151f9099acf0c59d7bb2d018296c6936')
options=(!strip)
license=('unknown')
depends=('libcurl-gnutls')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
package() {
mkdir -p "${pkgdir}/opt/${_pkgname}"
mkdir -p "${pkgdir}/usr/bin"
cp -r --preserve=all "${srcdir}/BLHeliSuite32xl/." "${pkgdir}/opt/${_pkgname}"
install -m 777 -d "${pkgdir}/opt/${_pkgname}/Settings/"
ln -s "/opt/${_pkgname}/BLHeliSuite32xl" "$pkgdir/usr/bin/${_pkgname}"
}
|