[arch-commits] Commit in caprine/trunk (PKGBUILD)

Nicola Squartini tensor5 at archlinux.org
Tue Mar 19 11:10:18 UTC 2019


    Date: Tuesday, March 19, 2019 @ 11:10:17
  Author: tensor5
Revision: 442649

upgpkg: caprine 2.30.1-1

Modified:
  caprine/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-19 10:59:30 UTC (rev 442648)
+++ PKGBUILD	2019-03-19 11:10:17 UTC (rev 442649)
@@ -1,7 +1,7 @@
 # Maintainer: Nicola Squartini <tensor5 at gmail.com>
 
 pkgname=caprine
-pkgver=2.23.0
+pkgver=2.30.1
 pkgrel=1
 pkgdesc='Unofficial Facebook Messenger app'
 arch=('any')
@@ -12,7 +12,7 @@
 source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
         'caprine.desktop'
         'caprine.js')
-sha256sums=('94f40ecdfea78cf5370c82d3e871c4c0662e1828c611c35e24f3da7ce58214a6'
+sha256sums=('7ba88f5c2b740da95191edea6f548f32b7acd49a287987105782c21972aeff4e'
             'ddb693c06b0d4adf41c799fd4d97c2d9c106669034f69f7af53a63cc45911a97'
             '76bc862279afe9250554b8b6cdafde529648285e72b6a88d75403ef6b29c571c')
 
@@ -19,6 +19,9 @@
 build() {
     cd ${pkgname}-${pkgver}
 
+    npm install --ignore-scripts
+    npx tsc
+    rm -r node_modules
     npm install --ignore-scripts --production
 }
 
@@ -43,8 +46,7 @@
         "${pkgdir}"/usr/share/licenses/${pkgname}
 
     # Clean up
-    rm -r "${pkgdir}"${appdir}/build
-    rm "${pkgdir}"${appdir}/{media/Icon.ai,static/Icon.{icns,ico}}
+    rm -r "${pkgdir}"${appdir}/{build,source,tsconfig.json}
     find "${pkgdir}"${appdir} \
         -name "package.json" \
             -exec sed -e "s|${srcdir}/${pkgname}-${pkgver}|${appdir}|" \


More information about the arch-commits mailing list