[arch-commits] Commit in asar/repos/community-any (PKGBUILD PKGBUILD)
Nicola Squartini
tensor5 at archlinux.org
Wed Mar 25 06:31:05 UTC 2020
Date: Wednesday, March 25, 2020 @ 06:31:05
Author: tensor5
Revision: 604041
archrelease: copy trunk to community-any
Added:
asar/repos/community-any/PKGBUILD
(from rev 604040, asar/trunk/PKGBUILD)
Deleted:
asar/repos/community-any/PKGBUILD
----------+
PKGBUILD | 54 +++++++++++++++++++++++++++---------------------------
1 file changed, 27 insertions(+), 27 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-25 06:30:38 UTC (rev 604040)
+++ PKGBUILD 2020-03-25 06:31:05 UTC (rev 604041)
@@ -1,27 +0,0 @@
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=asar
-pkgver=3.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 {} \;
- modclean -r -a "*.ts,.bin,.vscode,bin.js" --ignore='license' # --ignore='license*'
-}
Copied: asar/repos/community-any/PKGBUILD (from rev 604040, asar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-25 06:31:05 UTC (rev 604041)
@@ -0,0 +1,27 @@
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=asar
+pkgver=3.0.2
+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 {} \;
+ modclean -r -a "*.ts,.bin,.vscode,bin.js" --ignore='license' # --ignore='license*'
+}
More information about the arch-commits
mailing list