diff options
author | Kohei Suzuki | 2019-08-14 21:47:28 +0900 |
---|---|---|
committer | Kohei Suzuki | 2019-08-14 21:47:28 +0900 |
commit | a9f7a58db17da5df1a1c9dae9696290170f19e02 (patch) | |
tree | 5a7caa678203ae1e56b9a306fdc73e0cba96a567 /PKGBUILD | |
parent | f8fea910c05d23a0bc76b64e4fd712c1db61574a (diff) | |
download | aur-a9f7a58db17da5df1a1c9dae9696290170f19e02.tar.gz |
Update bdash to v1.5.6
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 8 insertions, 27 deletions
@@ -1,47 +1,28 @@ # Maintainer: Kohei Suzuki <eagletmt@gmail.com> pkgname=bdash -pkgver=1.1.0 +pkgver=1.5.6 pkgrel=1 pkgdesc='Simple business intelligence application' arch=('x86_64') url='https://github.com/bdash-app/bdash' license=('MIT') -depends=('gtk2' 'nss' 'alsa-lib' 'libxss' 'gconf' 'libxtst') -makedepends=('python2' 'python' 'npm' 'yarn') -source=("$pkgname-$pkgver.tar.gz::https://github.com/bdash-app/bdash/archive/$pkgver.tar.gz") +options=('!strip') +makedepends=('node-gyp' 'python2' 'python' 'yarn') +source=("$pkgname-$pkgver.tar.gz::https://github.com/bdash-app/bdash/archive/v$pkgver.tar.gz") build() { cd "$pkgname-$pkgver" yarn install --no-progress - - export NODE_ENV=production - mkdir -p out/tmp - cp -a app db yarn.lock package.json index.js .babelrc out/tmp - cd out/tmp - yarn install --no-progress - cd - - - node_modules/.bin/electron-rebuild -p -m out/tmp -w sqlite3 - node_modules/.bin/electron-packager out/tmp Bdash \ - --asar=true \ - --platform=linux \ - --arch=x64 \ - --app-version=$pkgver \ - --build-verison=$pkgver \ - --app-copyright=hokaccha + yarn run webpack --env.BUILD_ENV=production + yarn run electron-builder build --linux AppImage --x64 } package() { - cd "$pkgname-$pkgver" - - mkdir -p "$pkgdir/usr/share" mkdir -p "$pkgdir/usr/bin" - - mv Bdash-linux-x64 "$pkgdir/usr/share/bdash" - ln -s /usr/share/bdash/Bdash "$pkgdir/usr/bin/bdash" + mv "$pkgname-$pkgver/dist/production/Bdash-$pkgver-x86_64.AppImage" "$pkgdir/usr/bin/bdash" } # vim: set ft=sh: -sha512sums=('e6d5a56bb4849d2c0a0bedbd95b8fe6725e1952a1cbb6d0f400d048580ddcfbe8e2bf815424b91c0c3f08c76047ed4991cbfa0b899613757dcaca4dc2e6ff7b1') +sha512sums=('1d01d3979d34958251b56836254ed8044e8b3ec870e926335bd1d9ef661d8ed34c56a9ce711d6601343a969c3805fcccd01ca245b978d137f4cf83dff0263268') |