summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Zhang2020-08-22 14:53:09 +0800
committerBruce Zhang2020-08-22 14:53:09 +0800
commitbce2ab7bbaeb31e807477002f9cf0067d4f8452b (patch)
tree8ce385ee0f0c84e6ce6db1d5ec8a0f52b60ebb6c
parentcd7b11a1b3930a21cdf00b119075058a48d44143 (diff)
downloadaur-bce2ab7bbaeb31e807477002f9cf0067d4f8452b.tar.gz
upgpkg: ubports-installer 0.4.18b-3
update
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a5be7590d8c..5e64d3c5640 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ubports-installer
pkgdesc = A simple tool to install Ubuntu Touch on UBports devices
pkgver = 0.4.18b
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/ubports/ubports-installer
arch = x86_64
arch = i686
@@ -11,7 +11,7 @@ pkgbase = ubports-installer
makedepends = moreutils
depends = android-tools
depends = android-udev
- depends = electron6
+ depends = electron
depends = e2fsprogs
conflicts = ubports-installer-git
conflicts = ubports-installer-bin
diff --git a/PKGBUILD b/PKGBUILD
index 2540767ed76..2277a3780c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,12 @@
pkgname=ubports-installer
pkgver=0.4.18b
_ver=${pkgver/b/-beta}
-pkgrel=2
+pkgrel=3
pkgdesc='A simple tool to install Ubuntu Touch on UBports devices'
arch=('x86_64' 'i686')
url='https://github.com/ubports/ubports-installer'
license=('GPL3')
-depends=('android-tools' 'android-udev' 'electron6' 'e2fsprogs')
+depends=('android-tools' 'android-udev' 'electron' 'e2fsprogs')
makedepends=('jq' 'npm' 'moreutils')
conflicts=('ubports-installer-git' 'ubports-installer-bin')
source=("$pkgname-$pkgver.src.tar.gz::https://github.com/ubports/ubports-installer/archive/$_ver.tar.gz")
@@ -16,7 +16,7 @@ sha512sums=('06752c668b13ea72881091a2b5264c94f045c597647bd1b39f4cf02146ead47a724
prepare() {
local cache="$srcdir/npm-cache"
- local dist=/usr/lib/electron6
+ local dist=/usr/lib/electron
local electron_version="$(sed s/^v// $dist/version)"
cd "$pkgname-$_ver"
@@ -39,7 +39,7 @@ package() {
cd "$pkgname-$_ver"
echo "#!/usr/bin/env bash
-exec electron6 /usr/share/ubports-installer/app.asar \$@" > "$srcdir/ubports-installer.sh"
+exec electron /usr/share/ubports-installer/app.asar \$@" > "$srcdir/ubports-installer.sh"
install -Dm755 "$srcdir/ubports-installer.sh" "$pkgdir/usr/bin/ubports-installer"
echo "[Desktop Entry]