diff options
author | aureolebigben | 2021-08-25 10:28:47 +0200 |
---|---|---|
committer | aureolebigben | 2021-08-25 10:28:47 +0200 |
commit | f7f7024628a42c7ed6cc8cc0d9c2a1328b9e8182 (patch) | |
tree | 9a5d2356d55b0bac36fb7f09315ac6350ffcd9cf | |
parent | 7a541323f1987f220eabdf252109baac7fe7c65a (diff) | |
download | aur-f7f7024628a42c7ed6cc8cc0d9c2a1328b9e8182.tar.gz |
Upgrade to 3.1.2
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 19 insertions, 18 deletions
@@ -1,22 +1,21 @@ pkgbase = hyper pkgdesc = A terminal built on web technologies - pkgver = 3.0.2 + pkgver = 3.1.2 pkgrel = 1 url = https://hyper.is/ arch = any license = MIT - makedepends = npm + makedepends = nodejs + makedepends = electron makedepends = yarn makedepends = python2 - depends = nodejs - depends = electron depends = gconf conflicts = hyperterm replaces = hyperterm - source = https://github.com/zeit/hyper/archive/3.0.2.tar.gz + source = https://github.com/zeit/hyper/archive/v3.1.2.tar.gz source = https://raw.githubusercontent.com/zeit/art/master/hyper/mark/Hyper-Mark-120@3x.png source = Hyper.desktop - md5sums = 065b64a0a8846b2fb04755a66c418d5a + md5sums = 4ffd934e32aa986e4ddced0acca2fcd1 md5sums = f3481e14cba331160339b3b5ab78872b md5sums = 74cb7ba38e37332aa8300e4b6ba9c61c @@ -1,10 +1,10 @@ -# Maintainer: Aaron Abbott <aabmass@gmail.com> +# Maintainer: aureolebigben <aureolebigben@gmail.com> # Contributer: fleischie # Contributer: auk # Contributer: blind pkgname=hyper -pkgver=3.0.2 +pkgver=3.1.2 pkgrel=1 epoch= pkgdesc="A terminal built on web technologies" @@ -12,8 +12,8 @@ arch=('any') url="https://hyper.is/" license=('MIT') groups=() -depends=('nodejs' 'electron' 'gconf') -makedepends=('npm' 'yarn' 'python2') +depends=('gconf') +makedepends=('nodejs' 'electron' 'yarn' 'python2') checkdepends=() optdepends=() provides=() @@ -28,12 +28,12 @@ changelog= _pkgver_project=${pkgver/\.canary/-canary} source=( - "https://github.com/zeit/$pkgname/archive/${_pkgver_project}.tar.gz" + "https://github.com/zeit/$pkgname/archive/v${_pkgver_project}.tar.gz" "https://raw.githubusercontent.com/zeit/art/master/hyper/mark/Hyper-Mark-120@3x.png" "Hyper.desktop" ) noextract=() -md5sums=('065b64a0a8846b2fb04755a66c418d5a' +md5sums=('4ffd934e32aa986e4ddced0acca2fcd1' 'f3481e14cba331160339b3b5ab78872b' '74cb7ba38e37332aa8300e4b6ba9c61c') validpgpkeys=() @@ -41,6 +41,9 @@ validpgpkeys=() prepare() { cd "$pkgname-$_pkgver_project" + # delete husky install from postinstall + sed -i 's/\ \&\& husky install//g' package.json + # yarn is a build-dep according to the README yarn install } @@ -56,13 +59,12 @@ build() { oldpath=$PATH PATH=$(pwd)/node_modules/.bin:$PATH - npm run build && - cross-env BABEL_ENV=production babel \ - --out-file app/renderer/bundle.js \ + yarn run build && + cross-env BABEL_ENV=production babel target/renderer/bundle.js \ + --out-file target/renderer/bundle.js \ --no-comments \ - --minified app/renderer/bundle.js && - command build --linux --dir # need to use command because the - # function name is build + --minified target/renderer/bundle.js && + electron-builder --linux --dir PATH=$oldpath } |