Date: Monday, October 15, 2018 @ 10:27:45 Author: tensor5 Revision: 394002
upgpkg: min 1.8.0-1 Modified: min/trunk/PKGBUILD min/trunk/icon.patch ------------+ PKGBUILD | 16 +++++++++------- icon.patch | 6 +++--- 2 files changed, 12 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-10-15 10:27:22 UTC (rev 394001) +++ PKGBUILD 2018-10-15 10:27:45 UTC (rev 394002) @@ -1,7 +1,7 @@ # Maintainer: Nicola Squartini <[email protected]> pkgname=min -pkgver=1.7.1 +pkgver=1.8.0 pkgrel=1 pkgdesc='A smarter, faster web browser' arch=('any') @@ -13,10 +13,10 @@ 'min.desktop' 'min.js' 'icon.patch') -sha256sums=('d0922298483069802b24c5a9dcc35d212ab042fafce3f04246719ba680998a40' +sha256sums=('604039570db345b07f73405791d1a224dcea191e4669a1e6d627876d11cb79df' 'a779a8daff1d684779ebc6d13ea4c2f09e838df018de41fa19fa3f25aa12e32f' 'c22324184b72b3fad5a0aadb4e18182414e0294c5596c26426adc204fd473258' - '1721c0c42da67c16264aa059428e6d5823293587f4ed541171e3cf382a0d48ae') + 'bb5e55a3c4074e1419f25b0605b77ef622d2870235309e0feed88f790967a936') prepare() { cd ${pkgname}-${pkgver} @@ -27,9 +27,7 @@ build() { cd ${pkgname}-${pkgver} - npm install decomment grunt grunt-contrib-concat grunt-contrib-uglify - mkdir dist - npm run buildTranslations + npm install grunt rm -r node_modules @@ -53,7 +51,7 @@ "${pkgdir}"/usr/share/applications/${pkgname}.desktop # Clean up - rm "${pkgdir}"${appdir}/dist/{build,webview}.js + rm "${pkgdir}"${appdir}/dist/build.js rm -r "${pkgdir}"${appdir}/icons rm -r "${pkgdir}"${appdir}/localization rm -r "${pkgdir}"${appdir}/main @@ -65,12 +63,16 @@ -or -name ".*" -prune -exec rm -r '{}' \; \ -or -name "Gruntfile.js" -exec rm '{}' \; \ -or -name "Makefile" -exec rm '{}' \; \ + -or -name "bin" -prune -exec rm -r '{}' \; \ + -or -name "bin.js" -exec rm '{}' \; \ -or -name "bower.json" -exec rm '{}' \; \ -or -name "cli.js" -exec rm '{}' \; \ -or -name "cmd.js" -exec rm '{}' \; \ -or -name "coffee" -prune -exec rm -r '{}' \; \ -or -name "example" -prune -exec rm -r '{}' \; \ + -or -name "examples" -prune -exec rm -r '{}' \; \ -or -name "gulpfile.js" -exec rm '{}' \; \ + -or -name "man" -prune -exec rm -r '{}' \; \ -or -name "scripts" -prune -exec rm -r '{}' \; \ -or -name "test" -prune -exec rm -r '{}' \; \ -or -name "tests" -prune -exec rm -r '{}' \; Modified: icon.patch =================================================================== --- icon.patch 2018-10-15 10:27:22 UTC (rev 394001) +++ icon.patch 2018-10-15 10:27:45 UTC (rev 394002) @@ -1,10 +1,10 @@ --- a/main/main.js +++ b/main/main.js -@@ -81,7 +81,6 @@ +@@ -83,7 +83,6 @@ minWidth: 320, minHeight: 350, titleBarStyle: 'hiddenInset', - icon: __dirname + '/icons/icon256.png', - frame: process.platform !== 'win32' + frame: process.platform !== 'win32', + backgroundColor: '#fff', // the value of this is ignored, but setting it seems to work around https://github.com/electron/electron/issues/10559 }) -
