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

Nicola Squartini tensor5 at archlinux.org
Sun Dec 15 09:38:02 UTC 2019


    Date: Sunday, December 15, 2019 @ 09:38:02
  Author: tensor5
Revision: 537726

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   56 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 28 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-15 09:37:34 UTC (rev 537725)
+++ PKGBUILD	2019-12-15 09:38:02 UTC (rev 537726)
@@ -1,28 +0,0 @@
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=asar
-pkgver=2.0.1
-pkgrel=1
-pkgdesc='Creating Electron app packages'
-arch=('any')
-url='https://github.com/electron/asar'
-license=('MIT')
-depends=('nodejs')
-makedepends=('modclean' 'npm')
-options=(!emptydirs)
-
-package() {
-    npm install -g --prefix="${srcdir}/usr" ${pkgname}@${pkgver}
-    cp -r "${srcdir}/usr" "${pkgdir}"
-
-    cd "${pkgdir}/usr/lib/node_modules/${pkgname}"
-    install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
-    ln -s \
-        $(realpath --relative-to="${pkgdir}"/usr/share/licenses/${pkgname} LICENSE.md) \
-        "${pkgdir}/usr/share/licenses/${pkgname}"
-
-    sed -e "s|${srcdir}|/|" -i package.json
-    find node_modules -name 'package.json' -exec sed -e "s|${srcdir}||" -i {} \;
-    rm -r node_modules/{bluebird/js/browser,mkdirp/bin}
-    modclean -r -a "*.ts,.bin,.vscode" --ignore='license'  # --ignore='license*'
-}

Copied: asar/repos/community-any/PKGBUILD (from rev 537725, asar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-15 09:38:02 UTC (rev 537726)
@@ -0,0 +1,28 @@
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=asar
+pkgver=2.0.3
+pkgrel=1
+pkgdesc='Creating Electron app packages'
+arch=('any')
+url='https://github.com/electron/asar'
+license=('MIT')
+depends=('nodejs')
+makedepends=('modclean' 'npm')
+options=(!emptydirs)
+
+package() {
+    npm install -g --prefix="${srcdir}/usr" ${pkgname}@${pkgver}
+    cp -r "${srcdir}/usr" "${pkgdir}"
+
+    cd "${pkgdir}/usr/lib/node_modules/${pkgname}"
+    install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+    ln -s \
+        $(realpath --relative-to="${pkgdir}"/usr/share/licenses/${pkgname} LICENSE.md) \
+        "${pkgdir}/usr/share/licenses/${pkgname}"
+
+    sed -e "s|${srcdir}|/|" -i package.json
+    find node_modules -name 'package.json' -exec sed -e "s|${srcdir}||" -i {} \;
+    rm -r node_modules/{bluebird/js/browser,mkdirp/bin}
+    modclean -r -a "*.ts,.bin,.vscode,bin.js" --ignore='license'  # --ignore='license*'
+}


More information about the arch-commits mailing list