[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2020-12-12 Thread Nicola Squartini via arch-commits
Date: Sunday, December 13, 2020 @ 05:13:36
  Author: tensor5
Revision: 773781

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 773780, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 773780, apm/trunk/apm.js)
  apm/repos/community-x86_64/git-utils.patch
(from rev 773780, apm/trunk/git-utils.patch)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 773780, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 773780, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/git-utils.patch
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  218 +
 apm.js   |   22 ++--
 git-utils.patch  |   20 ++--
 no-scripts.patch |   42 -
 use-system-npm.patch |   20 ++--
 5 files changed, 165 insertions(+), 157 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-13 05:12:43 UTC (rev 773780)
+++ PKGBUILD2020-12-13 05:13:36 UTC (rev 773781)
@@ -1,105 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=2.6.0
-pkgrel=1
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=10' 'npm' 'python')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'use-system-npm.patch'
-'git-utils.patch')
-sha512sums=('514caa5703fb81036c5f99b47361a7e903615f2a046d6430fce9407c93b3cc1274bafbb9f29486a6726731ea8bcfa981a68f3f4546d282ff0551ee5ed9928c9a'
-
'c02c18e00c378fc968cd593bfed3ff0636a2786fa9ef212547efc30c54576f55dc94ac503b827ec79283c5deb87a22a7046565d8c630d55ed20d0ad020f8a77f'
-
'a51ec885b0cd44ba468a98b43e42cc66546031d97b43ab86be73cd15766ef7e9ae442c9e0a495215e37a83899fd256ec18708596b75ef47dbe12d3c8da2fc084'
-
'a78f9b1539d3eb38f2cd760b64efc8e9dd44dd2faf41a2d85bc2b21101828bea931c7855221cc69cfda3695f979ee85f17b299878424739c96cc3e96bed5d17f'
-
'bf9f4023bfbdc7240e5ed8a87bc9097eb7a57b2bae44f1044098eb380b15ff8a12f92347b99b6754c6adb537b8310d1f47bdfd3e60db411e4d69d575ce70b2a6')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm update keytar  # Node 12
-  npm install coffee-script
-  npx coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-
-  cd 
"${srcdir}/apm-build/usr/lib/node_modules/atom-package-manager/node_modules/git-utils"
-  patch -Np1 -i "${srcdir}/git-utils.patch"
-  node-gyp rebuild
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src/*.cc" -exec rm '{}' \; \
-  -or -path "*/git-utils/src/*.h" -exec rm '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2020-11-21 Thread Nicola Squartini via arch-commits
Date: Sunday, November 22, 2020 @ 04:16:55
  Author: tensor5
Revision: 758832

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 758831, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 758831, apm/trunk/apm.js)
  apm/repos/community-x86_64/git-utils.patch
(from rev 758831, apm/trunk/git-utils.patch)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 758831, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 758831, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/git-utils.patch
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  210 -
 apm.js   |   22 ++---
 git-utils.patch  |   20 ++--
 no-scripts.patch |   37 
 use-system-npm.patch |   20 ++--
 5 files changed, 157 insertions(+), 152 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-11-22 04:13:20 UTC (rev 758831)
+++ PKGBUILD2020-11-22 04:16:55 UTC (rev 758832)
@@ -1,105 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=2.5.0
-pkgrel=4
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=10' 'npm' 'python')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'use-system-npm.patch'
-'git-utils.patch')
-sha512sums=('34fdd9646d9ea67731aed7560547fb74fcb2f19a2ae69dd692834dffc7e0f2d7a9b1147f774e0f1bc9d491d57755f674073268dd599fa00e41673d2150883223'
-
'c02c18e00c378fc968cd593bfed3ff0636a2786fa9ef212547efc30c54576f55dc94ac503b827ec79283c5deb87a22a7046565d8c630d55ed20d0ad020f8a77f'
-
'4ad07dcf6fca3aabdd106f092d3a159712f52c4b161c54e7ac2c1d90598b98635dc86e8e97ec6f847392110c894b0b0ffb89be9f82164cd4a377a7dc53ac7b9a'
-
'd14c3465f068959580a8232b53740aa199e25b67e5c209b824ac1060aca4a6a12083cf2d495683abcc7faba4d4d1c4fe3276679c79c1754954b0eaf5e2d4eea2'
-
'bf9f4023bfbdc7240e5ed8a87bc9097eb7a57b2bae44f1044098eb380b15ff8a12f92347b99b6754c6adb537b8310d1f47bdfd3e60db411e4d69d575ce70b2a6')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm update keytar  # Node 12
-  npm install coffee-script
-  npx coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-
-  cd 
"${srcdir}/apm-build/usr/lib/node_modules/atom-package-manager/node_modules/git-utils"
-  patch -Np1 -i "${srcdir}/git-utils.patch"
-  node-gyp rebuild
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src/*.cc" -exec rm '{}' \; \
-  -or -path "*/git-utils/src/*.h" -exec rm '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2020-10-15 Thread Nicola Squartini via arch-commits
Date: Thursday, October 15, 2020 @ 09:45:34
  Author: tensor5
Revision: 724072

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 724071, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 724071, apm/trunk/apm.js)
  apm/repos/community-x86_64/git-utils.patch
(from rev 724071, apm/trunk/git-utils.patch)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 724071, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 724071, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/git-utils.patch
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  210 -
 apm.js   |   22 ++---
 git-utils.patch  |   20 ++--
 no-scripts.patch |   32 +++
 use-system-npm.patch |   20 ++--
 5 files changed, 152 insertions(+), 152 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-10-15 09:44:48 UTC (rev 724071)
+++ PKGBUILD2020-10-15 09:45:34 UTC (rev 724072)
@@ -1,105 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=2.5.0
-pkgrel=2
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=10' 'npm' 'python')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'use-system-npm.patch'
-'git-utils.patch')
-sha512sums=('34fdd9646d9ea67731aed7560547fb74fcb2f19a2ae69dd692834dffc7e0f2d7a9b1147f774e0f1bc9d491d57755f674073268dd599fa00e41673d2150883223'
-
'96e32de2aed089aa9bdfddb7b777b69e1cdb5afde8d709b91f9daa41053b6d9eb4697676122e3e2cfda58673c5e092b86ede0f6b7c40e44422fea7c8c361fcb8'
-
'4ad07dcf6fca3aabdd106f092d3a159712f52c4b161c54e7ac2c1d90598b98635dc86e8e97ec6f847392110c894b0b0ffb89be9f82164cd4a377a7dc53ac7b9a'
-
'd14c3465f068959580a8232b53740aa199e25b67e5c209b824ac1060aca4a6a12083cf2d495683abcc7faba4d4d1c4fe3276679c79c1754954b0eaf5e2d4eea2'
-
'bf9f4023bfbdc7240e5ed8a87bc9097eb7a57b2bae44f1044098eb380b15ff8a12f92347b99b6754c6adb537b8310d1f47bdfd3e60db411e4d69d575ce70b2a6')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm update keytar  # Node 12
-  npm install coffee-script
-  npx coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-
-  cd 
"${srcdir}/apm-build/usr/lib/node_modules/atom-package-manager/node_modules/git-utils"
-  patch -Np1 -i "${srcdir}/git-utils.patch"
-  node-gyp rebuild
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src/*.cc" -exec rm '{}' \; \
-  -or -path "*/git-utils/src/*.h" -exec rm '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2020-05-22 Thread Nicola Squartini via arch-commits
Date: Saturday, May 23, 2020 @ 04:06:29
  Author: tensor5
Revision: 631829

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 631828, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 631828, apm/trunk/apm.js)
  apm/repos/community-x86_64/git-utils.patch
(from rev 631828, apm/trunk/git-utils.patch)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 631828, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 631828, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/git-utils.patch
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  210 -
 apm.js   |   22 ++---
 git-utils.patch  |   20 ++--
 no-scripts.patch |   32 +++
 use-system-npm.patch |   20 ++--
 5 files changed, 152 insertions(+), 152 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-23 04:05:42 UTC (rev 631828)
+++ PKGBUILD2020-05-23 04:06:29 UTC (rev 631829)
@@ -1,105 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=2.5.0
-pkgrel=1
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=10' 'npm' 'python')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'use-system-npm.patch'
-'git-utils.patch')
-sha512sums=('34fdd9646d9ea67731aed7560547fb74fcb2f19a2ae69dd692834dffc7e0f2d7a9b1147f774e0f1bc9d491d57755f674073268dd599fa00e41673d2150883223'
-
'1f31778fca9540c7861ec13e15631f141997791e804582d1ba9e5c2a57c02ff62250b340f3166d103e7ed824fb05a993778f35e1a3575905b8582909adbfd159'
-
'4ad07dcf6fca3aabdd106f092d3a159712f52c4b161c54e7ac2c1d90598b98635dc86e8e97ec6f847392110c894b0b0ffb89be9f82164cd4a377a7dc53ac7b9a'
-
'd14c3465f068959580a8232b53740aa199e25b67e5c209b824ac1060aca4a6a12083cf2d495683abcc7faba4d4d1c4fe3276679c79c1754954b0eaf5e2d4eea2'
-
'bf9f4023bfbdc7240e5ed8a87bc9097eb7a57b2bae44f1044098eb380b15ff8a12f92347b99b6754c6adb537b8310d1f47bdfd3e60db411e4d69d575ce70b2a6')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm update keytar  # Node 12
-  npm install coffee-script
-  npx coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-
-  cd 
"${srcdir}/apm-build/usr/lib/node_modules/atom-package-manager/node_modules/git-utils"
-  patch -Np1 -i "${srcdir}/git-utils.patch"
-  node-gyp rebuild
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src/*.cc" -exec rm '{}' \; \
-  -or -path "*/git-utils/src/*.h" -exec rm '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \;

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2020-05-07 Thread Nicola Squartini via arch-commits
Date: Friday, May 8, 2020 @ 01:17:56
  Author: tensor5
Revision: 625510

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 625509, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 625509, apm/trunk/apm.js)
  apm/repos/community-x86_64/git-utils.patch
(from rev 625509, apm/trunk/git-utils.patch)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 625509, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 625509, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/git-utils.patch
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  210 -
 apm.js   |   24 ++---
 git-utils.patch  |   20 ++--
 no-scripts.patch |   32 +++
 use-system-npm.patch |   20 ++--
 5 files changed, 152 insertions(+), 154 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-08 01:17:09 UTC (rev 625509)
+++ PKGBUILD2020-05-08 01:17:56 UTC (rev 625510)
@@ -1,105 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=2.4.5
-pkgrel=2
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=10' 'npm' 'python')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-_gitutils_tag=5.6.1
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'use-system-npm.patch'
-'git-utils.patch')
-sha512sums=('bf84e40be7491fac7bc7c7449e88d035549b526874371f4314ecfd80592e21459435d03c5d74d662551285161536982f30631d5add17f2929e9b3b8a4eb17d13'
-
'cc81dd506dc70c3c6b561e99e78eebbee45ce5543f2bd9dce6bc61949ecd876fc26c68b90b596c40ef839a4dc3c50e22f79c45d9137380925c2d06b5c2dec705'
-
'50646299427b8233ac7fff7cf7abd46a8ffde121c166a8084d20d2e36b1bf3e35032eca339c9499ca844080c616fa52b0f4a13996305f2a4e41243bbf858'
-
'ef467bd6d3dbe3198fdd78f63489063e838c79103161dbfd611fe165e27a8c12c70792090ef3b3ee2f87cbe87c66114aec608e45b384895b4b88563b829c6d36'
-
'bf9f4023bfbdc7240e5ed8a87bc9097eb7a57b2bae44f1044098eb380b15ff8a12f92347b99b6754c6adb537b8310d1f47bdfd3e60db411e4d69d575ce70b2a6')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm update keytar  # Node 12
-  npm install coffee-script
-  npx coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-
-  cd 
"${srcdir}/apm-build/usr/lib/node_modules/atom-package-manager/node_modules/git-utils"
-  patch -Np1 -i "${srcdir}/git-utils.patch"
-  node-gyp rebuild
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src/*.{cc,h}" -prune -exec rm -r '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \; \
-  -or -name "doc" 

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2019-07-19 Thread Nicola Squartini via arch-commits
Date: Saturday, July 20, 2019 @ 06:34:47
  Author: tensor5
Revision: 492243

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 492242, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 492242, apm/trunk/apm.js)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 492242, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/python2.patch
(from rev 492242, apm/trunk/python2.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 492242, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/python2.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  206 -
 apm.js   |   26 +++---
 no-scripts.patch |   32 +++
 python2.patch|   28 +++---
 use-system-npm.patch |   20 ++--
 5 files changed, 155 insertions(+), 157 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-07-20 06:34:36 UTC (rev 492242)
+++ PKGBUILD2019-07-20 06:34:47 UTC (rev 492243)
@@ -1,104 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=2.3.1
-pkgrel=2
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=10' 'npm' 'python2')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'python2.patch'
-'use-system-npm.patch')
-sha256sums=('39c684a34caf1d01b2efbaec24101c970ad3eb1b2327da573f3c3f9db0d4d527'
-'acbe133eb67d603e815605b1f3d9056a03bfc4a22a7e9db081126b289b385f77'
-'897a82cd23ed5a4f226635dabe56ad28e533cb0949593e2b771ad7928c058bcb'
-'621ae29f99c3fbc410a9a7dc143dd9c912ee94eaa48110ad32c40647f635e792'
-'cf17bd31f70079fe2a17958712c1a515ce83623dd3f97557a3f01d346da09f19')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm
-  tr -d '\015' < package.json > package.json.new  # CRLF to LF
-  mv package.json.new package.json
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-
-  # GYP needs Python2
-  patch -Np1 -i "${srcdir}"/python2.patch
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm install coffee-script
-  npx coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \; \
-  -or -name "doc" -prune -exec rm -r '{}' \; \
-  -or -name "html" -prune -exec rm -r '{}' \; \
-  -or -name "Makefile" -exec rm '{}' \; \
-  -or -name "man" -prune -exec rm -r '{}' \; \
-  -or -name "obj.target" -prune -exec rm -r '{}' \; \
-  -or -name "samples" -prune -exec rm -r '{}' \; \
-  -or -name "scripts" -prune -exec rm -r '{}' \; \
-  -or -name "test" -pr

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2019-06-18 Thread Nicola Squartini via arch-commits
Date: Wednesday, June 19, 2019 @ 02:52:36
  Author: tensor5
Revision: 482287

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 482286, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 482286, apm/trunk/apm.js)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 482286, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/python2.patch
(from rev 482286, apm/trunk/python2.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 482286, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/python2.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  206 -
 apm.js   |   26 +++---
 no-scripts.patch |   32 +++
 python2.patch|   28 +++---
 use-system-npm.patch |   53 ++--
 5 files changed, 157 insertions(+), 188 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-06-19 02:51:45 UTC (rev 482286)
+++ PKGBUILD2019-06-19 02:52:36 UTC (rev 482287)
@@ -1,102 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=2.2.3
-pkgrel=2
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=10' 'npm' 'python2')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'python2.patch'
-'use-system-npm.patch')
-sha256sums=('24984b4ab4e44ad39996d451fad2ac214631cd7d694c6268761bc06dbddd10a3'
-'05702e86aa2287b553c230557c5f84ea54dd6ed3cc49763edba4239b0ab99373'
-'897a82cd23ed5a4f226635dabe56ad28e533cb0949593e2b771ad7928c058bcb'
-'621ae29f99c3fbc410a9a7dc143dd9c912ee94eaa48110ad32c40647f635e792'
-'b5060321f0c2d391efb742393dc0af564977ded5fc30b78d9fd895e384f6ef6d')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm and node-gyp
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-
-  # GYP needs Python2
-  patch -Np1 -i "${srcdir}"/python2.patch
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm install coffee-script
-  npx coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \; \
-  -or -name "doc" -prune -exec rm -r '{}' \; \
-  -or -name "html" -prune -exec rm -r '{}' \; \
-  -or -name "Makefile" -exec rm '{}' \; \
-  -or -name "man" -prune -exec rm -r '{}' \; \
-  -or -name "obj.target" -prune -exec rm -r '{}' \; \
-  -or -name "samples" -prune -exec rm -r '{}' \; \
-  -or -name "scripts" -prune -exec rm -r '{}' \; \
-  -or -name "test" -prune -exec rm -r '{}' \; \
-  -or -name "tests" -prune -exec rm -r '{}' \;

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2019-05-14 Thread Nicola Squartini via arch-commits
Date: Wednesday, May 15, 2019 @ 02:14:51
  Author: tensor5
Revision: 467249

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 467248, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 467248, apm/trunk/apm.js)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 467248, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/python2.patch
(from rev 467248, apm/trunk/python2.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 467248, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/python2.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  204 -
 apm.js   |   26 +++---
 no-scripts.patch |   32 +++
 python2.patch|   28 +++---
 use-system-npm.patch |   53 ++--
 5 files changed, 188 insertions(+), 155 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-05-15 02:13:51 UTC (rev 467248)
+++ PKGBUILD2019-05-15 02:14:51 UTC (rev 467249)
@@ -1,102 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=2.2.3
-pkgrel=1
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=10' 'npm' 'python2')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'python2.patch'
-'use-system-npm.patch')
-sha256sums=('24984b4ab4e44ad39996d451fad2ac214631cd7d694c6268761bc06dbddd10a3'
-'05702e86aa2287b553c230557c5f84ea54dd6ed3cc49763edba4239b0ab99373'
-'897a82cd23ed5a4f226635dabe56ad28e533cb0949593e2b771ad7928c058bcb'
-'621ae29f99c3fbc410a9a7dc143dd9c912ee94eaa48110ad32c40647f635e792'
-'cf17bd31f70079fe2a17958712c1a515ce83623dd3f97557a3f01d346da09f19')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm and node-gyp
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-
-  # GYP needs Python2
-  patch -Np1 -i "${srcdir}"/python2.patch
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm install coffee-script
-  npx coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \; \
-  -or -name "doc" -prune -exec rm -r '{}' \; \
-  -or -name "html" -prune -exec rm -r '{}' \; \
-  -or -name "Makefile" -exec rm '{}' \; \
-  -or -name "man" -prune -exec rm -r '{}' \; \
-  -or -name "obj.target" -prune -exec rm -r '{}' \; \
-  -or -name "samples" -prune -exec rm -r '{}' \; \
-  -or -name "scripts" -prune -exec rm -r '{}' \; \
-  -or -name "test" -prune -exec rm -r '{}' \; \
-  -or -name "tests" -prune -exec rm -r '{}' \;
-

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2019-05-14 Thread Nicola Squartini via arch-commits
Date: Wednesday, May 15, 2019 @ 01:14:03
  Author: tensor5
Revision: 467245

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 467244, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 467244, apm/trunk/apm.js)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 467244, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/python2.patch
(from rev 467244, apm/trunk/python2.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 467244, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/python2.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  204 -
 apm.js   |   26 +++---
 no-scripts.patch |   32 +++
 python2.patch|   28 +++---
 use-system-npm.patch |   21 ++---
 5 files changed, 155 insertions(+), 156 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-05-15 01:13:03 UTC (rev 467244)
+++ PKGBUILD2019-05-15 01:14:03 UTC (rev 467245)
@@ -1,102 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=2.1.7
-pkgrel=1
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=10' 'npm' 'python2')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'python2.patch'
-'use-system-npm.patch')
-sha256sums=('8d3917499bd4969256cda19c45909d9757d4d68a774e5b3058b96043c0f49355'
-'05702e86aa2287b553c230557c5f84ea54dd6ed3cc49763edba4239b0ab99373'
-'897a82cd23ed5a4f226635dabe56ad28e533cb0949593e2b771ad7928c058bcb'
-'621ae29f99c3fbc410a9a7dc143dd9c912ee94eaa48110ad32c40647f635e792'
-'540ebc69fbff4855fd39f2aefd345b5f5e88f216b0103290367c47843637dad8')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm and node-gyp
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-
-  # GYP needs Python2
-  patch -Np1 -i "${srcdir}"/python2.patch
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm install coffee-script
-  npx coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \; \
-  -or -name "doc" -prune -exec rm -r '{}' \; \
-  -or -name "html" -prune -exec rm -r '{}' \; \
-  -or -name "Makefile" -exec rm '{}' \; \
-  -or -name "man" -prune -exec rm -r '{}' \; \
-  -or -name "obj.target" -prune -exec rm -r '{}' \; \
-  -or -name "samples" -prune -exec rm -r '{}' \; \
-  -or -name "scripts" -prune -exec rm -r '{}' \; \
-  -or -name "test" -prune -exec rm -r '{}' \; \
-  -or -name "tests" -prune -exec rm -r '{}' \;
-}

Copi

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2019-04-11 Thread Nicola Squartini via arch-commits
Date: Friday, April 12, 2019 @ 04:59:18
  Author: tensor5
Revision: 451200

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 451199, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 451199, apm/trunk/apm.js)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 451199, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/python2.patch
(from rev 451199, apm/trunk/python2.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 451199, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/python2.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  204 -
 apm.js   |   26 +++---
 no-scripts.patch |   32 +++
 python2.patch|   28 +++---
 use-system-npm.patch |   22 ++---
 5 files changed, 156 insertions(+), 156 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-04-12 04:58:21 UTC (rev 451199)
+++ PKGBUILD2019-04-12 04:59:18 UTC (rev 451200)
@@ -1,102 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=2.1.3
-pkgrel=3
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=10' 'npm' 'python2')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'python2.patch'
-'use-system-npm.patch')
-sha512sums=('99881317cbcdc8b813c113208311932e28a227ecbb88844addca8aabd008d3b3fde7af667cd896ed12fddff0d539b521fc7f58bc72cedb522db65c41d4a4946a'
-
'2453d6e06e6e012baec1787b751e20be354daecf0799c97698491c00546483844532d1b3c02c9c1b6e0a800ccf16ee0f4fff0bfbd5210eca0ad296ed91002aea'
-
'da2e2c6b336b87371541ef159201f6942c606f7c8b212f1a610a8605bb08ddc97ed1ade7f1c02339c40c40f22d8a7d37b1686fb5c7105a775fa85ff6048162dc'
-
'2fedcfc04c03059429c231c5bbd3d5e4b32a30ea9d341c3e27dcbba0deee1e4c8d27d993c59ee96aebf0a0c930b7cc55177e3600c18349dd2b91ebac7bd96632'
-
'96449a53197e7b498561e8fb820f2d60aa4d77cd4364b97e7e595d49776e3ad7fb89b944174be55ad3b81b6b64d65c0f12c5b8cf3eeb1bad8ac18dfdf3c6b610')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm and node-gyp
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-
-  # GYP needs Python2
-  patch -Np1 -i "${srcdir}"/python2.patch
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm install coffee-script
-  npx coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \; \
-  -or -name "doc" -prune -exec rm -r '{}' \; \
-  -or -name "html" -prune -exec rm -r '{}' \; \
-  -or -name "Makefile" -exec rm '{}' \; \
-  -or -n

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2018-10-07 Thread Nicola Squartini via arch-commits
Date: Sunday, October 7, 2018 @ 15:43:54
  Author: tensor5
Revision: 391018

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 391017, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 391017, apm/trunk/apm.js)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 391017, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/python2.patch
(from rev 391017, apm/trunk/python2.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 391017, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/python2.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  204 -
 apm.js   |   32 +++
 no-scripts.patch |   32 +++
 python2.patch|   28 +++---
 use-system-npm.patch |   22 ++---
 5 files changed, 159 insertions(+), 159 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-10-07 15:43:39 UTC (rev 391017)
+++ PKGBUILD2018-10-07 15:43:54 UTC (rev 391018)
@@ -1,102 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=2.1.2
-pkgrel=1
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=10' 'npm' 'python2')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'python2.patch'
-'use-system-npm.patch')
-sha512sums=('385b11cd3300d54497ea5e79c4e34db1edff50c431027676c22ebd15d8f0d7d626071e39302aa1f9618d81260fca320c124e6ca167cb65a29924d440b723018b'
-
'7ef40058bb50189729a541f8e74191336f9652f12e70118e8b24c207e42f00c8f548d408759f261d8b0f2f67f7296e38d771694e45570102e28be1e6b9788d6c'
-
'da2e2c6b336b87371541ef159201f6942c606f7c8b212f1a610a8605bb08ddc97ed1ade7f1c02339c40c40f22d8a7d37b1686fb5c7105a775fa85ff6048162dc'
-
'2fedcfc04c03059429c231c5bbd3d5e4b32a30ea9d341c3e27dcbba0deee1e4c8d27d993c59ee96aebf0a0c930b7cc55177e3600c18349dd2b91ebac7bd96632'
-
'96449a53197e7b498561e8fb820f2d60aa4d77cd4364b97e7e595d49776e3ad7fb89b944174be55ad3b81b6b64d65c0f12c5b8cf3eeb1bad8ac18dfdf3c6b610')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm and node-gyp
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-
-  # GYP needs Python2
-  patch -Np1 -i "${srcdir}"/python2.patch
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm install coffee-script
-  npx coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \; \
-  -or -name "doc" -prune -exec rm -r '{}' \; \
-  -or -name "html" -prune -exec rm -r '{}' \; \
-  -or -name "Makefile" -exec rm '{}' \; \
-  -or 

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2018-09-16 Thread Nicola Squartini via arch-commits
Date: Sunday, September 16, 2018 @ 10:15:28
  Author: tensor5
Revision: 382210

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 382209, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 382209, apm/trunk/apm.js)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 382209, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/python2.patch
(from rev 382209, apm/trunk/python2.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 382209, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/python2.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  205 -
 apm.js   |   32 +++
 no-scripts.patch |   32 +++
 python2.patch|   28 +++---
 use-system-npm.patch |   22 ++---
 5 files changed, 159 insertions(+), 160 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-09-16 10:15:03 UTC (rev 382209)
+++ PKGBUILD2018-09-16 10:15:28 UTC (rev 382210)
@@ -1,103 +0,0 @@
-# $Id$
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=2.1.1
-pkgrel=1
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=10' 'npm' 'python2')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'python2.patch'
-'use-system-npm.patch')
-sha512sums=('051956cf4f5f6fa5445cd2aebaea0fc2eb9b5f7bab8fe5d6026efbe2487a3f32d65a53b9125e85a06bd25fd1481535becb0606ab58a3148b3f7b66309d374263'
-
'7ef40058bb50189729a541f8e74191336f9652f12e70118e8b24c207e42f00c8f548d408759f261d8b0f2f67f7296e38d771694e45570102e28be1e6b9788d6c'
-
'da2e2c6b336b87371541ef159201f6942c606f7c8b212f1a610a8605bb08ddc97ed1ade7f1c02339c40c40f22d8a7d37b1686fb5c7105a775fa85ff6048162dc'
-
'2fedcfc04c03059429c231c5bbd3d5e4b32a30ea9d341c3e27dcbba0deee1e4c8d27d993c59ee96aebf0a0c930b7cc55177e3600c18349dd2b91ebac7bd96632'
-
'96449a53197e7b498561e8fb820f2d60aa4d77cd4364b97e7e595d49776e3ad7fb89b944174be55ad3b81b6b64d65c0f12c5b8cf3eeb1bad8ac18dfdf3c6b610')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm and node-gyp
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-
-  # GYP needs Python2
-  patch -Np1 -i "${srcdir}"/python2.patch
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm install coffee-script
-  npx coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \; \
-  -or -name "doc" -prune -exec rm -r '{}' \; \
-  -or -name "html" -prune -exec rm -r '{}' \; \
-  -or -name "Makefile" -exec rm '{}' \; \

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2018-04-24 Thread Nicola Squartini via arch-commits
Date: Tuesday, April 24, 2018 @ 14:13:55
  Author: tensor5
Revision: 317557

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 317556, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 317556, apm/trunk/apm.js)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 317556, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/python2.patch
(from rev 317556, apm/trunk/python2.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 317556, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/python2.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  206 -
 apm.js   |   32 +++
 no-scripts.patch |   32 +++
 python2.patch|   28 +++---
 use-system-npm.patch |   22 ++---
 5 files changed, 160 insertions(+), 160 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-04-24 14:13:43 UTC (rev 317556)
+++ PKGBUILD2018-04-24 14:13:55 UTC (rev 317557)
@@ -1,103 +0,0 @@
-# $Id$
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=1.19.0
-pkgrel=2
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=8' 'npm' 'python2')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'python2.patch'
-'use-system-npm.patch')
-sha512sums=('642e7d4bd29455f56ad6e611de9a38954b8a403576620ea3684bc49c2d05f6be89e2ce37efa383cdd050e7ff6b0a6f4a14213f1256e1a6999d3789de0d621afa'
-
'7ef40058bb50189729a541f8e74191336f9652f12e70118e8b24c207e42f00c8f548d408759f261d8b0f2f67f7296e38d771694e45570102e28be1e6b9788d6c'
-
'da2e2c6b336b87371541ef159201f6942c606f7c8b212f1a610a8605bb08ddc97ed1ade7f1c02339c40c40f22d8a7d37b1686fb5c7105a775fa85ff6048162dc'
-
'2fedcfc04c03059429c231c5bbd3d5e4b32a30ea9d341c3e27dcbba0deee1e4c8d27d993c59ee96aebf0a0c930b7cc55177e3600c18349dd2b91ebac7bd96632'
-
'f07c0bc1d31d8b6d237621cde024ebf538901fd7ea61801a7c50b5be84e2adf9da72eccc68d7bea0d8b0193d750ebde7de30a572f2e286194cb5c4f6f0d2a3f3')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm and node-gyp
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-
-  # GYP needs Python2
-  patch -Np1 -i "${srcdir}"/python2.patch
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm install coffee-script
-  ./node_modules/.bin/coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \; \
-  -or -name "doc" -prune -exec rm -r '{}' \; \
-  -or -name "html" -prune -exec rm -r '{}' \; \
-  -or -name "Makefile" -exec 

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2018-01-05 Thread Nicola Squartini via arch-commits
Date: Friday, January 5, 2018 @ 15:03:42
  Author: tensor5
Revision: 278970

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 278969, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 278969, apm/trunk/apm.js)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 278969, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/python2.patch
(from rev 278969, apm/trunk/python2.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 278969, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/python2.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  206 -
 apm.js   |   32 +++
 no-scripts.patch |   32 +++
 python2.patch|   28 +++---
 use-system-npm.patch |   66 +++
 5 files changed, 182 insertions(+), 182 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-01-05 15:03:30 UTC (rev 278969)
+++ PKGBUILD2018-01-05 15:03:42 UTC (rev 278970)
@@ -1,103 +0,0 @@
-# $Id$
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=1.18.12
-pkgrel=1
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=8' 'npm' 'python2')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'python2.patch'
-'use-system-npm.patch')
-sha512sums=('8cf3600767051a4dc8c82ff2d70d25d83c3850a4cbb7b72941a07444bae0c01dee38df886d205591c6539806e7db73aaa21349299c1b3baf3010011f8d7e1bbf'
-
'7ef40058bb50189729a541f8e74191336f9652f12e70118e8b24c207e42f00c8f548d408759f261d8b0f2f67f7296e38d771694e45570102e28be1e6b9788d6c'
-
'da2e2c6b336b87371541ef159201f6942c606f7c8b212f1a610a8605bb08ddc97ed1ade7f1c02339c40c40f22d8a7d37b1686fb5c7105a775fa85ff6048162dc'
-
'2fedcfc04c03059429c231c5bbd3d5e4b32a30ea9d341c3e27dcbba0deee1e4c8d27d993c59ee96aebf0a0c930b7cc55177e3600c18349dd2b91ebac7bd96632'
-
'b506cf81d1664db4e520f7835d7be0b794e843bc2d12c9339e1f88436722c41762be633b6157a76832c74525a11b4e58e2007e68d2a7217f533996fdf028')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-
-  # GYP needs Python2
-  patch -Np1 -i "${srcdir}"/python2.patch
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm install coffee-script
-  ./node_modules/.bin/coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \; \
-  -or -name "doc" -prune -exec rm -r '{}' \; \
-  -or -name "html" -prune -exec rm -r '{}' \; \
-  -or -name "Makefile" -exec rm

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2017-12-26 Thread Nicola Squartini via arch-commits
Date: Tuesday, December 26, 2017 @ 17:05:50
  Author: tensor5
Revision: 276117

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 276116, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 276116, apm/trunk/apm.js)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 276116, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/python2.patch
(from rev 276116, apm/trunk/python2.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 276116, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/python2.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  206 -
 apm.js   |   32 +++
 no-scripts.patch |   32 +++
 python2.patch|   28 +++---
 use-system-npm.patch |   66 +++
 5 files changed, 182 insertions(+), 182 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-12-26 17:05:01 UTC (rev 276116)
+++ PKGBUILD2017-12-26 17:05:50 UTC (rev 276117)
@@ -1,103 +0,0 @@
-# $Id$
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=1.18.11
-pkgrel=1
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=8' 'npm' 'python2')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'python2.patch'
-'use-system-npm.patch')
-sha512sums=('5a5fb08b77d1dd4f3ee758e65b7dd913077a852ff8b6636f7fc8b3683df3ffa52d9fd0c55ee9581631f738f83ab3bb8872320460891abf747a5c80fe27168f6c'
-
'7ef40058bb50189729a541f8e74191336f9652f12e70118e8b24c207e42f00c8f548d408759f261d8b0f2f67f7296e38d771694e45570102e28be1e6b9788d6c'
-
'da2e2c6b336b87371541ef159201f6942c606f7c8b212f1a610a8605bb08ddc97ed1ade7f1c02339c40c40f22d8a7d37b1686fb5c7105a775fa85ff6048162dc'
-
'2fedcfc04c03059429c231c5bbd3d5e4b32a30ea9d341c3e27dcbba0deee1e4c8d27d993c59ee96aebf0a0c930b7cc55177e3600c18349dd2b91ebac7bd96632'
-
'b506cf81d1664db4e520f7835d7be0b794e843bc2d12c9339e1f88436722c41762be633b6157a76832c74525a11b4e58e2007e68d2a7217f533996fdf028')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-
-  # GYP needs Python2
-  patch -Np1 -i "${srcdir}"/python2.patch
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm install coffee-script
-  ./node_modules/.bin/coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \; \
-  -or -name "doc" -prune -exec rm -r '{}' \; \
-  -or -name "html" -prune -exec rm -r '{}' \; \
-  -or -name "Makefile" -exec

[arch-commits] Commit in apm/repos/community-x86_64 (10 files)

2017-12-01 Thread Nicola Squartini via arch-commits
Date: Friday, December 1, 2017 @ 14:33:46
  Author: tensor5
Revision: 271080

archrelease: copy trunk to community-x86_64

Added:
  apm/repos/community-x86_64/PKGBUILD
(from rev 271078, apm/trunk/PKGBUILD)
  apm/repos/community-x86_64/apm.js
(from rev 271078, apm/trunk/apm.js)
  apm/repos/community-x86_64/no-scripts.patch
(from rev 271078, apm/trunk/no-scripts.patch)
  apm/repos/community-x86_64/python2.patch
(from rev 271078, apm/trunk/python2.patch)
  apm/repos/community-x86_64/use-system-npm.patch
(from rev 271078, apm/trunk/use-system-npm.patch)
Deleted:
  apm/repos/community-x86_64/PKGBUILD
  apm/repos/community-x86_64/apm.js
  apm/repos/community-x86_64/no-scripts.patch
  apm/repos/community-x86_64/python2.patch
  apm/repos/community-x86_64/use-system-npm.patch

--+
 PKGBUILD |  206 -
 apm.js   |   32 +++
 no-scripts.patch |   32 +++
 python2.patch|   28 +++---
 use-system-npm.patch |   66 +++
 5 files changed, 182 insertions(+), 182 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-12-01 14:33:41 UTC (rev 271079)
+++ PKGBUILD2017-12-01 14:33:46 UTC (rev 271080)
@@ -1,103 +0,0 @@
-# $Id$
-# Maintainer: Nicola Squartini 
-
-pkgname=apm
-pkgver=1.18.10
-pkgrel=2
-pkgdesc='Atom package manager'
-arch=('x86_64')
-url='https://github.com/atom/apm'
-license=('MIT')
-depends=('libsecret' 'nodejs>=8' 'npm' 'python2')
-makedepends=('git')
-provides=('nodejs-atom-package-manager')
-conflicts=('nodejs-atom-package-manager')
-replaces=('nodejs-atom-package-manager')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz";
-'apm.js'
-'no-scripts.patch'
-'python2.patch'
-'use-system-npm.patch')
-sha512sums=('07e8cf711d5ae039dda25d0c62861d984272a8816baa510ec28b2c2681c3b891e4eedcdcb7414ad1e8dd5d884d740febc0b55071e8112fe0fc1c20684bef7096'
-
'7ef40058bb50189729a541f8e74191336f9652f12e70118e8b24c207e42f00c8f548d408759f261d8b0f2f67f7296e38d771694e45570102e28be1e6b9788d6c'
-
'da2e2c6b336b87371541ef159201f6942c606f7c8b212f1a610a8605bb08ddc97ed1ade7f1c02339c40c40f22d8a7d37b1686fb5c7105a775fa85ff6048162dc'
-
'2fedcfc04c03059429c231c5bbd3d5e4b32a30ea9d341c3e27dcbba0deee1e4c8d27d993c59ee96aebf0a0c930b7cc55177e3600c18349dd2b91ebac7bd96632'
-
'b506cf81d1664db4e520f7835d7be0b794e843bc2d12c9339e1f88436722c41762be633b6157a76832c74525a11b4e58e2007e68d2a7217f533996fdf028')
-
-_apmdir='/usr/lib/node_modules/atom-package-manager'
-
-prepare() {
-  rm -rf "${srcdir}"/apm-build
-
-  cd apm-${pkgver}
-
-  # Use custom launcher
-  rm bin/apm{,.cmd} bin/npm{,.cmd}
-  rm src/cli.coffee
-  install -m755 "${srcdir}"/apm.js bin/apm
-
-  # Use system npm
-  patch -Np1 -i "${srcdir}"/use-system-npm.patch
-
-  # Don't download binary Node
-  patch -Np1 -i "${srcdir}"/no-scripts.patch
-  rm BUNDLED_NODE_VERSION script/*
-
-  # GYP needs Python2
-  patch -Np1 -i "${srcdir}"/python2.patch
-}
-
-build() {
-  cd apm-${pkgver}
-
-  npm install coffee-script
-  ./node_modules/.bin/coffee -c --no-header -o lib src/*.coffee
-  rm -r node_modules
-  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
-}
-
-package() {
-  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
-
-  cd "${pkgdir}"${_apmdir}
-  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
-
-  # Install license file
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
- "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  # Remove occurrences of ${srcdir}
-  find "${pkgdir}" -name "package.json" \
-   -exec sed -e "s|${srcdir}/apm-build||" \
- -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
- -i '{}' \;
-
-  # Remove useless stuff
-  find "${pkgdir}"/usr/lib \
-  -name ".*" -prune -exec rm -r '{}' \; \
-  -or -name "*.a" -exec rm '{}' \; \
-  -or -name "*.bat" -exec rm '{}' \; \
-  -or -name "*.mk" -exec rm '{}' \; \
-  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/git-utils/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
-  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
-  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
-  -or -name "appveyor.yml" -exec rm '{}' \; \
-  -or -name "benchmark" -prune -exec rm -r '{}' \; \
-  -or -name "binding.Makefile" -exec rm '{}' \; \
-  -or -name "config.gypi" -exec rm '{}' \; \
-  -or -name "deps" -prune -exec rm -r '{}' \; \
-  -or -name "doc" -prune -exec rm -r '{}' \; \
-  -or -name "html" -prune -exec rm -r '{}' \; \
-  -or -name "Makefile" -exec r