Date: Monday, October 8, 2018 @ 15:13:16
  Author: tensor5
Revision: 391095

archrelease: copy trunk to community-any

Added:
  asar/repos/community-any/PKGBUILD
    (from rev 391094, asar/trunk/PKGBUILD)
Deleted:
  asar/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  115 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-10-08 15:12:55 UTC (rev 391094)
+++ PKGBUILD    2018-10-08 15:13:16 UTC (rev 391095)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Nicola Squartini <tens...@gmail.com>
-
-pkgname=asar
-pkgver=0.14.3
-pkgrel=1
-pkgdesc='Creating Electron app packages'
-arch=('any')
-url='https://github.com/electron/asar'
-license=('MIT')
-depends=('nodejs')
-makedepends=('npm')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/electron/asar/archive/v${pkgver}.tar.gz";)
-sha256sums=('8e9ec795e25edbebaaae7ef00e362feee28a10bd342c63afe0194bf047e396c2')
-
-package() {
-    cd ${pkgname}-${pkgver}
-
-    npm install -g --prefix="${pkgdir}"/usr 
"${srcdir}/${pkgname}-${pkgver}.tar.gz"
-
-    moduledir=/usr/lib/node_modules/${pkgname}
-
-    install -d "${pkgdir}/usr/share/licenses/${pkgname}"
-    ln -s $(realpath \
-            --relative-to="${pkgdir}"/usr/share/licenses/${pkgname} \
-            "${pkgdir}"${moduledir})/LICENSE.md \
-        "${pkgdir}/usr/share/licenses/${pkgname}"
-
-    find "${pkgdir}" -type d -exec chmod 755 {} \;
-
-    # 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 '{}' \; 
\
-        -or -name 'bin.js' -exec rm '{}' \; \
-        -or -name 'bower.json' -exec rm '{}' \; \
-        -or -name 'cleanup.sh' -exec rm '{}' \; \
-        -or -name 'component.json' -exec rm '{}' \; \
-        -or -name 'example' -prune -exec rm -r '{}' \; \
-        -or -name 'example.js' -exec rm '{}' \; \
-        -or -name 'examples' -prune -exec rm -r '{}' \; \
-        -or -name 'Gruntfile.js' -exec rm '{}' \; \
-        -or -name 'Makefile' -exec rm '{}' \; \
-        -or -name 'man' -prune -exec rm -r '{}' \; \
-        -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 'scripts' -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 '{}' \; \
-        -or -name 'tst' -prune -exec rm -r '{}' \;
-}

Copied: asar/repos/community-any/PKGBUILD (from rev 391094, asar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-10-08 15:13:16 UTC (rev 391095)
@@ -0,0 +1,57 @@
+# Maintainer: Nicola Squartini <tens...@gmail.com>
+
+pkgname=asar
+pkgver=0.14.5
+pkgrel=1
+pkgdesc='Creating Electron app packages'
+arch=('any')
+url='https://github.com/electron/asar'
+license=('MIT')
+depends=('nodejs')
+makedepends=('npm')
+options=(!emptydirs)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/electron/asar/archive/v${pkgver}.tar.gz";)
+sha256sums=('7669027d08322b02b4e5e6b29e076fbfa63fb62da974504bbfdde36aa2aadc48')
+
+package() {
+    cd ${pkgname}-${pkgver}
+
+    npm install -g --prefix="${pkgdir}"/usr 
"${srcdir}/${pkgname}-${pkgver}.tar.gz"
+
+    moduledir=/usr/lib/node_modules/${pkgname}
+
+    install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+    ln -s $(realpath \
+            --relative-to="${pkgdir}"/usr/share/licenses/${pkgname} \
+            "${pkgdir}"${moduledir})/LICENSE.md \
+        "${pkgdir}/usr/share/licenses/${pkgname}"
+
+    find "${pkgdir}" -type d -exec chmod 755 {} \;
+
+    # 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 '{}' \; 
\
+        -or -name 'bin.js' -exec rm '{}' \; \
+        -or -name 'bower.json' -exec rm '{}' \; \
+        -or -name 'cleanup.sh' -exec rm '{}' \; \
+        -or -name 'component.json' -exec rm '{}' \; \
+        -or -name 'example' -prune -exec rm -r '{}' \; \
+        -or -name 'example.js' -exec rm '{}' \; \
+        -or -name 'examples' -prune -exec rm -r '{}' \; \
+        -or -name 'Gruntfile.js' -exec rm '{}' \; \
+        -or -name 'Makefile' -exec rm '{}' \; \
+        -or -name 'man' -prune -exec rm -r '{}' \; \
+        -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 'scripts' -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 '{}' \; \
+        -or -name 'tst' -prune -exec rm -r '{}' \;
+}

Reply via email to