[arch-commits] Commit in matrix-appservice-irc/repos/community-any (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Sat Nov 25 18:45:00 UTC 2017


    Date: Saturday, November 25, 2017 @ 18:44:59
  Author: archange
Revision: 268460

archrelease: copy trunk to community-any

Added:
  matrix-appservice-irc/repos/community-any/PKGBUILD
    (from rev 268459, matrix-appservice-irc/trunk/PKGBUILD)
Deleted:
  matrix-appservice-irc/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   47 +++++++++++++++++++++++++++--------------------
 1 file changed, 27 insertions(+), 20 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-25 18:44:34 UTC (rev 268459)
+++ PKGBUILD	2017-11-25 18:44:59 UTC (rev 268460)
@@ -1,20 +0,0 @@
-# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
-
-pkgname='matrix-appservice-irc'
-pkgver=0.7.2
-pkgrel=1
-pkgdesc="Node.js IRC bridge for Matrix"
-arch=('any')
-url="https://github.com/matrix-org/matrix-appservice-irc"
-license=('Apache')
-depends=('nodejs')
-makedepends=('npm' 'git')
-optdepends=('python: for maintenance scripts')
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('7076e078c415205622a396fa541221f8ecdb0e153521a22143ea1d7c5b873f43')
-
-package() {
-  cd ${pkgbase}-${pkgver}
-  npm install --cache "${srcdir}/npm-cache" -g --user root --prefix "${pkgdir}"/usr
-  rmdir "${pkgdir}"/usr/etc
-}

Copied: matrix-appservice-irc/repos/community-any/PKGBUILD (from rev 268459, matrix-appservice-irc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-25 18:44:59 UTC (rev 268460)
@@ -0,0 +1,27 @@
+# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
+
+pkgname='matrix-appservice-irc'
+pkgver=0.8.0
+pkgrel=1
+pkgdesc="Node.js IRC bridge for Matrix"
+arch=('any')
+url="https://github.com/matrix-org/matrix-appservice-irc"
+license=('Apache')
+depends=('nodejs')
+makedepends=('npm' 'git')
+optdepends=('python: for maintenance scripts')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('0e8b458c72242e5a0d2b0af856f546b4008e4ea84f9595719766edfb7a9ec354')
+
+package() {
+  cd ${pkgbase}-${pkgver}
+  npm install --cache "${srcdir}"/npm-cache -g --user root --prefix "${pkgdir}"/usr
+
+  rmdir "${pkgdir}"/usr/etc
+
+  # Apparently it now symlinks to the source folder…
+  rm -f "${pkgdir}"/usr/lib/node_modules/matrix-appservice-irc
+  mkdir -p "${pkgdir}"/usr/lib/node_modules/matrix-appservice-irc
+  cp -r * "${pkgdir}"/usr/lib/node_modules/matrix-appservice-irc/
+  chmod -R go-w "${pkgdir}"/usr/lib/node_modules/
+}


More information about the arch-commits mailing list