summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7c3c0976d5c..63ea24be1e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,23 +4,23 @@
pkgname=phoenix
_pkgver=1.0.0-beta.12
pkgver=1.0.0.beta.12
-pkgrel=1
-pkgdesc='The BurstCoin desktop wallet'
+pkgrel=2
+pkgdesc='Burstcoin desktop wallet'
arch=(x86_64)
-url="https://github.com/burst-apps-team/phoenix"
+url='https://github.com/burst-apps-team/phoenix'
license=(GPL3)
depends=(nodejs)
makedepends=(npm angular-cli)
install=phoenix.install
-source=(https://github.com/burst-apps-team/$pkgname/archive/desktop-${_pkgver}.zip
- $pkgname.desktop
+source=(https://github.com/burst-apps-team/phoenix/archive/desktop-${_pkgver}.zip
+ phoenix.desktop
electron-builder.json.patch)
sha256sums=('5a9b8d0ce1bf5226f9ba3d94bba0b518cc22e536c690a2d8346bb06c6e951196'
- 'ee7cb123dca7e311bea596df59d59284a9b0b32be6990da3cd89303a800acac0'
+ '1409c32674b62e20d04a61b7bddbc787c3027c32ee350f4909f0aa6117ae02b1'
'a89ebcaa537d3456ad49c5ab8157fb88d649e2aa3e5791b9217b2d0f95f838de')
build() {
- cd "$srcdir/$pkgname-desktop-${_pkgver}/lib"
+ cd $srcdir/$pkgname-desktop-${_pkgver}/lib
npm install
npm run bootstrap
cd ../web/angular-wallet
@@ -30,21 +30,21 @@ build() {
cd ../desktop/wallet
npm install
# patch build only unpacked
- patch electron-builder.json < "$srcdir/electron-builder.json.patch"
+ patch electron-builder.json < $srcdir/electron-builder.json.patch
npm run release:linux
}
package() {
- install -dm755 "$pkgdir/opt/$pkgname"
- cp -a "$srcdir/$pkgname-desktop-${_pkgver}/desktop/wallet/release-builds/linux-unpacked/." "$pkgdir/opt/$pkgname"
+ install -dm755 $pkgdir/opt/$pkgname
+ cp -a $srcdir/$pkgname-desktop-${_pkgver}/desktop/wallet/release-builds/linux-unpacked/. $pkgdir/opt/$pkgname
# https://github.com/electron/electron/issues/17972
- cd "$pkgdir/opt/$pkgname"
+ cd $pkgdir/opt/$pkgname
chmod 4755 ./chrome-sandbox
chown root:root ./chrome-sandbox
# Menu entry
- install -Dm644 "$srcdir/$pkgname.desktop" -t "$pkgdir/usr/share/applications"
- install -Dm644 "$srcdir/$pkgname-desktop-${_pkgver}/assets/phoenix.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+ install -Dm644 $srcdir/$pkgname.desktop -t $pkgdir/usr/share/applications
+ install -Dm644 $srcdir/$pkgname-desktop-${_pkgver}/assets/phoenix.png $pkgdir/usr/share/pixmaps/$pkgname.png
}