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

Nicola Squartini tensor5 at archlinux.org
Thu Dec 29 10:05:45 UTC 2016


    Date: Thursday, December 29, 2016 @ 10:05:45
  Author: tensor5
Revision: 203265

upgpkg: asar 0.12.4-1

Modified:
  asar/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-29 09:47:28 UTC (rev 203264)
+++ PKGBUILD	2016-12-29 10:05:45 UTC (rev 203265)
@@ -2,7 +2,7 @@
 # Maintainer: Nicola Squartini <tensor5 at gmail.com>
 
 pkgname=asar
-pkgver=0.12.3
+pkgver=0.12.4
 pkgrel=1
 pkgdesc='Creating Electron app packages'
 arch=('any')
@@ -12,7 +12,7 @@
 makedepends=('coffee-script' 'npm')
 options=(!emptydirs)
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/electron/asar/archive/v${pkgver}.tar.gz")
-sha256sums=('7e033773e6b55ab8162185dbb09a0e912d76b675b01e266992bd6fdb9a28311d')
+sha256sums=('cdc12e5367c9731186caac8a04a6c9afc11830050683af095ca01ea6ac4ac11c')
 
 prepare() {
     cd ${pkgname}-${pkgver}
@@ -36,12 +36,13 @@
     install -d "${pkgdir}/usr/share/licenses/${pkgname}"
     ln -s $(realpath \
             --relative-to="${pkgdir}"/usr/share/licenses/${pkgname} \
-            "${pkgdir}"${moduledir})/LICENSE \
+            "${pkgdir}"${moduledir})/LICENSE.md \
         "${pkgdir}/usr/share/licenses/${pkgname}"
 
     # Remove useless stuff and occurrences of ${pkgdir} and ${srcdir}
     find "${pkgdir}"${moduledir} \
         -name '.*' -prune -exec rm -r '{}' \; \
+        -or -name '*.sh' -exec rm '{}' \; \
         -or -name 'appveyor.yml' -exec rm '{}' \; \
         -or -name 'benchmark' -prune -exec rm -r '{}' \; \
         -or -path "*/${pkgname}/node_modules/*/bin" -prune -exec rm -r '{}' \; \
@@ -58,6 +59,7 @@
         -or -name 'package.json' -exec sed -e "s|${pkgdir}||" \
             -e "s|${srcdir}/${pkgname}-${pkgver}|${moduledir}|" -i '{}' \; \
         -or -name 'perf' -prune -exec rm -r '{}' \; \
+        -or -name 'sync-package-managers.js' -exec rm '{}' \; \
         -or -name 'test' -prune -exec rm -r '{}' \; \
         -or -name 'test.js' -exec rm '{}' \; \
         -or -name 'tools' -prune -exec rm -r '{}' \; \



More information about the arch-commits mailing list