summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2021-03-16 12:14:51 -0600
committerMark Wagie2021-03-16 12:14:51 -0600
commitda2f11cba21c56e4afdced5dfe169e3c9e9f795c (patch)
tree98e85bc24a75111f8cd91d2294779fe27830624e
parentc415fd89f344078310d625058531762d8ce56bbd (diff)
downloadaur-da2f11cba21c56e4afdced5dfe169e3c9e9f795c.tar.gz
use electron-builder directly
-rw-r--r--PKGBUILD10
1 files changed, 1 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4d8af62ca78..c268114d4d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,19 +17,11 @@ sha256sums=('d535a2445b94127966d759d28411474f1c074f9680fd66bcfecd1d1231c4f01f'
'a1f2eb9525dd10556ffde37a4dc9e06636a81d1d9ce815d1167e48954abee1dc'
'8c30e207fe88455f63f4c0b2ae9087a2ca2bbeaa68b9be244c31a9ec392373c4')
-prepare() {
- cd "$pkgname-$pkgver"
-
- # Disable building dist packages
- sed -i '109,113d' package.json
- sed -i 's/tar.bz2/dir/g' package.json
-}
-
build() {
cd "$pkgname-$pkgver"
yarn install --cache-folder "$srcdir/yarn-cache"
yarn compile
- yarn build:linux
+ ./node_modules/.bin/electron-builder --linux dir
}
package() {