diff options
author | Jake | 2018-07-03 17:44:37 +0200 |
---|---|---|
committer | Jake | 2018-07-03 17:44:37 +0200 |
commit | c0638b34c8e674d53f163643f5d7935a124633f1 (patch) | |
tree | c75be8e190258785315351106ce39cfd612d2af3 | |
parent | 8509d06d8d997085709121592458b5998a31a990 (diff) | |
download | aur-c0638b34c8e674d53f163643f5d7935a124633f1.tar.gz |
Update to 3.1.0
Switch to Betaflight repo
Use git commit hash (as long there is no tag)
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | blackbox-explorer.desktop | 9 |
3 files changed, 29 insertions, 15 deletions
@@ -1,14 +1,17 @@ pkgbase = blackbox-explorer pkgdesc = Cleanflight and Betaflight Blackbox Explorer (NW.js build) - pkgver = 3.0.0 + pkgver = 3.1.0 pkgrel = 1 - url = https://github.com/cleanflight/blackbox-log-viewer + url = https://github.com/betaflight/blackbox-log-viewer arch = x86_64 license = GPL3 makedepends = yarn + makedepends = git options = !strip - source = https://github.com/cleanflight/blackbox-log-viewer/archive/master.zip - md5sums = SKIP + source = git+https://github.com/betaflight/blackbox-log-viewer.git#commit=84f8abd7463e65773921635b57c7ac8fd4104ce9 + source = blackbox-explorer.desktop + sha256sums = SKIP + sha256sums = 749c3e9ffe22f6248774e4fd40c3b94d1d05b3935e74a555ff4ca3ca67e6e937 pkgname = blackbox-explorer @@ -1,28 +1,30 @@ # Maintainer: Jake <aur@ja-ke.tech> pkgname=blackbox-explorer -_reponame=blackbox-log-viewer-master -pkgver=3.0.0 +_reponame=blackbox-log-viewer +pkgver=3.1.0 pkgrel=1 pkgdesc="Cleanflight and Betaflight Blackbox Explorer (NW.js build)" arch=("x86_64") -url="https://github.com/cleanflight/${_reponame%-master}" +url="https://github.com/betaflight/${_reponame}" license=('GPL3') -makedepends=('yarn') -source=("https://github.com/cleanflight/blackbox-log-viewer/archive/master.zip") -md5sums=(SKIP) +makedepends=('yarn' 'git') +source=("git+https://github.com/betaflight/${_reponame}.git#commit=84f8abd7463e65773921635b57c7ac8fd4104ce9" + "$pkgname.desktop") +sha256sums=('SKIP' + '749c3e9ffe22f6248774e4fd40c3b94d1d05b3935e74a555ff4ca3ca67e6e937') options=(!strip) build() { cd "$_reponame" yarn install - ./node_modules/.bin/gulp apps + ./node_modules/.bin/gulp apps --linux64 } package() { cd "$_reponame" - install -D apps/cleanflight-$pkgname/linux64/cleanflight-$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop" - install -d "$pkgdir/opt/cleanflight/cleanflight-blackbox-explorer/" - cp -r apps/cleanflight-$pkgname/linux64/* "$pkgdir/opt/cleanflight/cleanflight-blackbox-explorer" + install -D "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + install -d "$pkgdir/opt/$pkgname/" + cp -r apps/betaflight-$pkgname/linux64/* "$pkgdir/opt/$pkgname/" install -d "$pkgdir/usr/bin/" - ln -s /opt/cleanflight/cleanflight-blackbox-explorer/cleanflight-$pkgname "$pkgdir/usr/bin/$pkgname" + ln -s /opt/$pkgname/betaflight-$pkgname "$pkgdir/usr/bin/$pkgname" } diff --git a/blackbox-explorer.desktop b/blackbox-explorer.desktop new file mode 100644 index 000000000000..85bbfe475fc5 --- /dev/null +++ b/blackbox-explorer.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Betaflight Blackbox Explorer +Comment=Crossplatform blackbox analitics tool for Betaflight flight control system +Exec=/opt/blackbox-explorer/betaflight-blackbox-explorer +Icon=/opt/blackbox-explorer/icon/bf_icon_128.png +Categories=Utility +Terminal=false +Type=Application +MimeType=application/x-blackboxlog |