summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKelly van Vliet2018-08-19 20:57:39 +0200
committerKelly van Vliet2018-08-19 20:57:39 +0200
commita434c6275c8e36a77c40887b5c43e3ccd36f0fad (patch)
tree9c703c880525b71264916eaa6d30dfa857fed82b
parent4b6a0f88793d7d10e2b7b770656944a404c344b0 (diff)
downloadaur-a434c6275c8e36a77c40887b5c43e3ccd36f0fad.tar.gz
What the hell was I smoking during that previous push?
-rw-r--r--PKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6468b34acb9..96703fdde64 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,10 +2,10 @@
pkgname=blheli-configurator
pkgver=1.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Crossplatform configuration tool for BLHeli based ESCs"
arch=('x86_64')
-url="https://github.com/betaflight/betaflight-configurator"
+url="https://github.com/blheli-configurator/blheli-configurator"
source=(
"https://github.com/blheli-configurator/blheli-configurator/releases/download/$pkgver/BLHeli-Configurator_linux64_"$pkgver".zip"
"https://github.com/blheli-configurator/blheli-configurator/blob/master/images/icon_128.png?raw=true"
@@ -20,11 +20,10 @@ license=('custom')
provides=("$pkgname")
package() {
- mkdir -p "$pkgdir/opt/blheli"
+ mkdir -p "$pkgdir/opt/blheli-configurator"
mkdir -p "$pkgdir/usr/bin"
- #install -Dm644 "$srcdir/Betaflight Configurator/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "$srcdir/blheli-configurator.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "icon_128.png?raw=true" "$pkgdir/opt/blheli-configurator/blheli_icon_128.png"
- cp -r --preserve=all "$srcdir/BLHeli Configurator" "$pkgdir/opt/blheli-configurator"
+ cp -r --preserve=all "$srcdir/BLHeli Configurator/." "$pkgdir/opt/blheli-configurator"
ln -s "$pkgdir/opt/blheli-configurator/$pkgname" "$pkgdir/usr/bin/$pkgname"
}