[arch-commits] Commit in min/trunk (PKGBUILD)
Nicola Squartini
tensor5 at archlinux.org
Sun Sep 17 12:34:55 UTC 2017
Date: Sunday, September 17, 2017 @ 12:34:54
Author: tensor5
Revision: 258614
upgpkg: min 1.6.2-1
Modified:
min/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-17 12:34:52 UTC (rev 258613)
+++ PKGBUILD 2017-09-17 12:34:54 UTC (rev 258614)
@@ -2,7 +2,7 @@
# Maintainer: Nicola Squartini <tensor5 at gmail.com>
pkgname=min
-pkgver=1.6.1
+pkgver=1.6.2
pkgrel=1
pkgdesc='A smarter, faster web browser'
arch=('any')
@@ -14,7 +14,7 @@
'min.desktop'
'min.js'
'icon.patch')
-sha256sums=('a267cfd3cd2e0526e9e473e2e7807512f14593141465b0afea6a00818bff24f6'
+sha256sums=('3d859c98ffa052e78a8f253ed0c695caf455347206fa072b7260038245a8430e'
'a779a8daff1d684779ebc6d13ea4c2f09e838df018de41fa19fa3f25aa12e32f'
'c22324184b72b3fad5a0aadb4e18182414e0294c5596c26426adc204fd473258'
'f73d138d68f90e11a60128099b57eecb84a7d067e7f6883ff98924c5f4a61ea8')
@@ -28,7 +28,9 @@
build() {
cd ${pkgname}-${pkgver}
- npm install grunt grunt-contrib-concat grunt-contrib-uglify
+ npm install decomment grunt grunt-contrib-concat grunt-contrib-uglify
+ mkdir dist
+ npm run buildTranslations
grunt
rm -r node_modules
@@ -54,7 +56,9 @@
# Clean up
rm "${pkgdir}"${appdir}/dist/{build,webview}.js
rm -r "${pkgdir}"${appdir}/icons
+ rm -r "${pkgdir}"${appdir}/localization
rm -r "${pkgdir}"${appdir}/main
+ rm -r "${pkgdir}"${appdir}/scripts
find "${pkgdir}"${appdir} \
-name "package.json" \
-exec sed -e "s|${srcdir}/${pkgname}-${pkgver}|${appdir}|" \
More information about the arch-commits
mailing list