summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Zhang2020-06-13 16:03:07 +0800
committerBruce Zhang2020-06-13 16:03:07 +0800
commitcd7b11a1b3930a21cdf00b119075058a48d44143 (patch)
tree34aa8324556cf7e3a00dd4b3e408f8c61c123d45
parent5ba0be3ef1950e4b1f11f8fcb8e7618b1f507d15 (diff)
downloadaur-cd7b11a1b3930a21cdf00b119075058a48d44143.tar.gz
upgpkg: ubports-installer 0.4.18b-2
ubports-installer
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2140e8511f5..a5be7590d8c 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 = 1
+ pkgrel = 2
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 = electron4
+ depends = electron6
depends = e2fsprogs
conflicts = ubports-installer-git
conflicts = ubports-installer-bin
diff --git a/PKGBUILD b/PKGBUILD
index 1e42b1e5e9e..2540767ed76 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,12 @@
pkgname=ubports-installer
pkgver=0.4.18b
_ver=${pkgver/b/-beta}
-pkgrel=1
+pkgrel=2
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' 'electron4' 'e2fsprogs')
+depends=('android-tools' 'android-udev' 'electron6' '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/electron4
+ local dist=/usr/lib/electron6
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 electron4 /usr/share/ubports-installer/app.asar \$@" > "$srcdir/ubports-installer.sh"
+exec electron6 /usr/share/ubports-installer/app.asar \$@" > "$srcdir/ubports-installer.sh"
install -Dm755 "$srcdir/ubports-installer.sh" "$pkgdir/usr/bin/ubports-installer"
echo "[Desktop Entry]