summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Zhang2019-11-29 18:27:45 +0800
committerBruce Zhang2019-11-29 18:27:45 +0800
commit243711e012ce9d62def06c9357deafd49f850299 (patch)
treebaf9a5c9efc41961990e55b3a137e59d10cf0f13
parent80b880c1bca93edb38d22ed2cb443a4fcafc3bc9 (diff)
downloadaur-243711e012ce9d62def06c9357deafd49f850299.tar.gz
upgpkg: ubports-installer 0.4.11b-1
upstream release update
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD15
2 files changed, 15 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11263ede128..f2dd783cc9f 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.3.2b
- pkgrel = 2
+ pkgver = 0.4.11b
+ pkgrel = 1
url = https://github.com/ubports/ubports-installer
arch = x86_64
arch = i686
@@ -12,10 +12,11 @@ pkgbase = ubports-installer
depends = android-tools
depends = android-udev
depends = electron4
+ depends = e2fsprogs
conflicts = ubports-installer-git
conflicts = ubports-installer-bin
- source = ubports-installer-0.3.2b.src.tar.gz::https://github.com/ubports/ubports-installer/archive/0.3.2-beta.tar.gz
- sha512sums = 0c105b3686d09a9d55b8fa54d0c98fab59a363bb249c2ce7fa4695a0651c573a023337f672bc6dc582cf8c8c50c1f9a87e05f101ed517beef93c643dac198b5d
+ source = ubports-installer-0.4.11b.src.tar.gz::https://github.com/ubports/ubports-installer/archive/0.4.11-beta.tar.gz
+ sha512sums = 5367c004a59b4a2bd1a716c059610a4c725a24625b81e930e1a540af85631b6891b2cbf049460dd08b3d4e1878d5e221b71ae4fce6f3007c2495994a54501c9f
pkgname = ubports-installer
diff --git a/PKGBUILD b/PKGBUILD
index dae08ffc376..2bed817e0e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,18 @@
# Contributor: Matthias Lisin <ml@visu.li>
# Maintainer: Bruce Zhang <zttt183525594@gmail.com>
pkgname=ubports-installer
-pkgver=0.3.2b
+pkgver=0.4.11b
_ver=${pkgver/b/-beta}
-pkgrel=2
+pkgrel=1
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')
+depends=('android-tools' 'android-udev' 'electron4' '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")
-sha512sums=('0c105b3686d09a9d55b8fa54d0c98fab59a363bb249c2ce7fa4695a0651c573a023337f672bc6dc582cf8c8c50c1f9a87e05f101ed517beef93c643dac198b5d')
+sha512sums=('5367c004a59b4a2bd1a716c059610a4c725a24625b81e930e1a540af85631b6891b2cbf049460dd08b3d4e1878d5e221b71ae4fce6f3007c2495994a54501c9f')
prepare() {
local cache="$srcdir/npm-cache"
@@ -29,7 +29,7 @@ prepare() {
build() {
cd "$pkgname-$_ver"
- node build.js --package dir --os linux
+ node build.js -o linux -p dir -n
}
package() {
@@ -57,4 +57,9 @@ Categories=Utility" > "$srcdir/ubports-installer.desktop"
cd "$srcdir/$pkgname-$_ver/dist/linux-unpacked/resources"
install -Dm644 app.asar "$pkgdir/usr/share/ubports-installer/app.asar"
+
+ mkdir -p "$pkgdir/usr/share/ubports-installer/app.asar.unpacked/platform-tools/linux"
+ ln -s /usr/bin/adb "$pkgdir/usr/share/ubports-installer/app.asar.unpacked/platform-tools/linux/adb"
+ ln -s /usr/bin/fastboot "$pkgdir/usr/share/ubports-installer/app.asar.unpacked/platform-tools/linux/fastboot"
+ ln -s /usr/bin/mke2fs "$pkgdir/usr/share/ubports-installer/app.asar.unpacked/platform-tools/linux/mke2fs"
}