summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Zhang2019-08-06 09:18:05 +0800
committerBruce Zhang2019-08-06 09:18:05 +0800
commita1ba28715a008e5db7c0b23191d6726fcba4e2ec (patch)
tree8725ac73847846d6fafb423bed1a05dac09ebe97
parent70033f07d60a65506ab94c685a2b89baad5459a0 (diff)
downloadaur-a1ba28715a008e5db7c0b23191d6726fcba4e2ec.tar.gz
upgpkg: ubports-installer 0.2.5b-3
ubports-installer: electron4
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fc84a737a95..a4b9aac3b59 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.2.5b
- 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 = electron
+ depends = electron4
conflicts = ubports-installer-git
conflicts = ubports-installer-bin
source = https://github.com/ubports/ubports-installer/archive/0.2.5-beta.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index f762618d0eb..296ea53b0a1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,12 @@
pkgname=ubports-installer
pkgver=0.2.5b
_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' 'electron')
+depends=('android-tools' 'android-udev' 'electron4')
makedepends=('jq' 'npm' 'moreutils')
conflicts=('ubports-installer-git' 'ubports-installer-bin')
source=("https://github.com/ubports/ubports-installer/archive/$_ver.tar.gz")
@@ -16,7 +16,7 @@ sha512sums=('f3cfbce3e0c4c6994bfaca24953a637dcc42d3f0a45ca8b5961ee4769ceb743a736
prepare() {
local cache="$srcdir/npm-cache"
- local dist=/usr/lib/electron
+ local dist=/usr/lib/electron4
cd "$pkgname-$_ver"
jq '.electronDist = $dist | .electronVersion = $version' \
@@ -36,7 +36,7 @@ package() {
cd "$pkgname-$_ver"
echo "#!/usr/bin/env bash
-exec electron /usr/share/ubports-installer/app.asar -n \$@" > "$srcdir/ubports-installer.sh"
+exec electron4 /usr/share/ubports-installer/app.asar -n \$@" > "$srcdir/ubports-installer.sh"
install -Dm755 "$srcdir/ubports-installer.sh" "$pkgdir/usr/bin/ubports-installer"
echo "[Desktop Entry]