diff options
author | Jordan Day | 2018-01-24 12:06:02 -0600 |
---|---|---|
committer | Jordan Day | 2018-01-24 12:06:02 -0600 |
commit | cff3ca1e842cbe57be5a951891ab51387e67aa82 (patch) | |
tree | b56a9a8e1abc55bbc77a605a557f65b58ee7dd4e | |
download | aur-cff3ca1e842cbe57be5a951891ab51387e67aa82.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 21 |
3 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..36cecfe6f99e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = betaflight-configurator + pkgdesc = Crossplatform configuration tool for the Betaflight flight control system + pkgver = 10.1.0 + pkgrel = 1 + url = https://github.com/betaflight/betaflight-configurator + arch = x86_64 + license = custom + provides = betaflight-configurator + options = !strip + source = https://github.com/betaflight/betaflight-configurator/releases/download/10.1.0/Betaflight-Configurator_linux64_10.1.0.zip + md5sums = feceea8247823f9a9074efe33298acda + +pkgname = betaflight-configurator + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..b129f3be2f1d --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +pkg/* +src/* +*.xz +*.gz +*.zip diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e798605e575e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Jordan Day < jordanday444 at gmail dot com > + +pkgname=betaflight-configurator +pkgver=10.1.0 +pkgrel=1 +pkgdesc="Crossplatform configuration tool for the Betaflight flight control system" +arch=('x86_64') +url="https://github.com/betaflight/betaflight-configurator" +source=("https://github.com/betaflight/betaflight-configurator/releases/download/$pkgver/Betaflight-Configurator_linux64_$pkgver.zip") +md5sums=('feceea8247823f9a9074efe33298acda') +options=(!strip) +license=('custom') +provides=("$pkgname") + +package() { + mkdir -p "$pkgdir/opt/betaflight" + mkdir -p "$pkgdir/usr/bin" + install -Dm644 "$srcdir/Betaflight Configurator/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + cp -r --preserve=all "$srcdir/Betaflight Configurator" "$pkgdir/opt/betaflight/betaflight-configurator" + ln -s "$pkgdir/opt/betaflight/betaflight-configurator/$pkgname" "$pkgdir/usr/bin/$pkgname" +} |