[arch-commits] Commit in min/trunk (PKGBUILD icon.patch)

Nicola Squartini tensor5 at archlinux.org
Tue Nov 19 06:48:13 UTC 2019


    Date: Tuesday, November 19, 2019 @ 06:48:13
  Author: tensor5
Revision: 530405

upgpkg: min 1.11.2-2

Fix for https://github.com/minbrowser/min/issues/854.

Modified:
  min/trunk/PKGBUILD
  min/trunk/icon.patch

------------+
 PKGBUILD   |   17 +++++++++--------
 icon.patch |    2 +-
 2 files changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-19 05:59:36 UTC (rev 530404)
+++ PKGBUILD	2019-11-19 06:48:13 UTC (rev 530405)
@@ -2,30 +2,31 @@
 
 pkgname=min
 pkgver=1.11.2
-pkgrel=1
+_commit=dfbfa670a3e6fe3ff68b3351a6d4c3d6d50e7d06
+pkgrel=2
 pkgdesc='A smarter, faster web browser'
 arch=('any')
 url='https://minbrowser.github.io/min'
 license=('Apache')
 depends=('electron')
-makedepends=('npm')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/minbrowser/min/archive/v${pkgver}.tar.gz"
+makedepends=('git' 'npm')
+source=("git+https://github.com/minbrowser/min.git#commit=${_commit}"
         'min.desktop'
         'min.js'
         'icon.patch')
-sha256sums=('3cff58361a2d1086c1bd49efb6fcbb038e7988ed1e401d8fd6128ead3d584a63'
+sha256sums=('SKIP'
             'a779a8daff1d684779ebc6d13ea4c2f09e838df018de41fa19fa3f25aa12e32f'
             'c22324184b72b3fad5a0aadb4e18182414e0294c5596c26426adc204fd473258'
-            '3c44522a80e75d4822b4413be4a2914594ebf38a46961abc2a5ff3584b394385')
+            '4e03faa2ebaabec3f700398e034cdb799c5e9585c43ac5ff03cfaf45c034ef62')
 
 prepare() {
-    cd ${pkgname}-${pkgver}
+    cd ${pkgname}
 
     patch -Np1 -i "${srcdir}"/icon.patch
 }
 
 build() {
-    cd ${pkgname}-${pkgver}
+    cd ${pkgname}
 
     npm install
     npm run build
@@ -35,7 +36,7 @@
 }
 
 package() {
-    cd ${pkgname}-${pkgver}
+    cd ${pkgname}
 
     appdir=/usr/lib/${pkgname}
 

Modified: icon.patch
===================================================================
--- icon.patch	2019-11-19 05:59:36 UTC (rev 530404)
+++ icon.patch	2019-11-19 06:48:13 UTC (rev 530405)
@@ -7,5 +7,5 @@
 -    icon: __dirname + '/icons/icon256.png',
 +    icon: '/usr/share/icons/hicolor/256x256/apps/min.png',
      frame: process.platform !== 'win32',
+     alwaysOnTop: settings.get('windowAlwaysOnTop'),
      backgroundColor: '#fff', // the value of this is ignored, but setting it seems to work around https://github.com/electron/electron/issues/10559
-     webPreferences: {



More information about the arch-commits mailing list