[arch-commits] Commit in asar/repos/community-any (PKGBUILD PKGBUILD)

Nicola Squartini tensor5 at archlinux.org
Sun Mar 10 08:23:23 UTC 2019


    Date: Sunday, March 10, 2019 @ 08:23:22
  Author: tensor5
Revision: 439049

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-10 08:22:17 UTC (rev 439048)
+++ PKGBUILD	2019-03-10 08:23:22 UTC (rev 439049)
@@ -1,57 +0,0 @@
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=asar
-pkgver=0.14.6
-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=('cdd084f3914541f1e506a335c1db40dece377539a99f91ce11f1d265e934063a')
-
-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 439048, asar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-10 08:23:22 UTC (rev 439049)
@@ -0,0 +1,57 @@
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=asar
+pkgver=1.0.0
+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=('7492f857144bfaed939a8285a212ffab92c638c3878ddfcb133f6b469da7193b')
+
+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 '{}' \;
+}


More information about the arch-commits mailing list