[arch-commits] Commit in caprine/repos/community-any (6 files)

Nicola Squartini tensor5 at archlinux.org
Sun May 9 09:14:13 UTC 2021


    Date: Sunday, May 9, 2021 @ 09:14:13
  Author: tensor5
Revision: 928993

archrelease: copy trunk to community-any

Added:
  caprine/repos/community-any/PKGBUILD
    (from rev 928992, caprine/trunk/PKGBUILD)
  caprine/repos/community-any/caprine.desktop
    (from rev 928992, caprine/trunk/caprine.desktop)
  caprine/repos/community-any/caprine.js
    (from rev 928992, caprine/trunk/caprine.js)
Deleted:
  caprine/repos/community-any/PKGBUILD
  caprine/repos/community-any/caprine.desktop
  caprine/repos/community-any/caprine.js

-----------------+
 PKGBUILD        |  124 +++++++++++++++++++++++++++---------------------------
 caprine.desktop |   18 +++----
 caprine.js      |   58 ++++++++++++-------------
 3 files changed, 100 insertions(+), 100 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-09 09:13:34 UTC (rev 928992)
+++ PKGBUILD	2021-05-09 09:14:13 UTC (rev 928993)
@@ -1,62 +0,0 @@
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=caprine
-pkgver=2.52.4
-_commit=045c978f9e293df02d99781426cf2c458983ff8e
-pkgrel=1
-pkgdesc='Elegant Facebook Messenger desktop app'
-arch=('any')
-url='https://github.com/sindresorhus/caprine'
-license=('MIT')
-depends=('electron')
-makedepends=('git' 'npm')
-options=(!emptydirs)
-source=("git+https://github.com/sindresorhus/caprine.git#commit=${_commit}"
-        'caprine.desktop'
-        'caprine.js')
-sha256sums=('SKIP'
-            'ddb693c06b0d4adf41c799fd4d97c2d9c106669034f69f7af53a63cc45911a97'
-            '76bc862279afe9250554b8b6cdafde529648285e72b6a88d75403ef6b29c571c')
-
-build() {
-    cd ${pkgname}
-
-    npm install --ignore-scripts
-    npx tsc
-    rm -r node_modules
-    npm install --ignore-scripts --production
-}
-
-package() {
-    cd ${pkgname}
-
-    appdir=/usr/lib/${pkgname}
-
-    install -d "${pkgdir}"${appdir}
-    cp -r * "${pkgdir}"${appdir}
-
-    install -dm755 "${pkgdir}/usr/share/pixmaps"
-    install -m644 build/icon.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
-
-    install -Dm755 "${srcdir}"/${pkgname}.js "${pkgdir}"/usr/bin/${pkgname}
-    install -Dm644 "${srcdir}"/${pkgname}.desktop \
-            "${pkgdir}"/usr/share/applications/${pkgname}.desktop
-
-    install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
-    ln -s $(realpath -m --relative-to=/usr/share/licenses/${pkgname} ${appdir}/license) \
-        "${pkgdir}"/usr/share/licenses/${pkgname}
-
-    # Clean up
-    rm -r "${pkgdir}"${appdir}/{build,source,tsconfig.json}
-    find "${pkgdir}"${appdir} \
-        -name "package.json" \
-            -exec sed -e "s|${srcdir}/${pkgname}|${appdir}|" \
-                -i {} \; \
-        -or -name ".*" -prune -exec rm -r '{}' \; \
-        -or -name "bin" -prune -exec rm -r '{}' \; \
-        -or -name "example" -prune -exec rm -r '{}' \; \
-        -or -name "examples" -prune -exec rm -r '{}' \; \
-        -or -name "man" -prune -exec rm -r '{}' \; \
-        -or -name "scripts" -prune -exec rm -r '{}' \; \
-        -or -name "test" -prune -exec rm -r '{}' \;
-}

Copied: caprine/repos/community-any/PKGBUILD (from rev 928992, caprine/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-09 09:14:13 UTC (rev 928993)
@@ -0,0 +1,62 @@
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=caprine
+pkgver=2.53.0
+_commit=49f9fd2cf5828b9e5ea9a9977b31ca8215231b56
+pkgrel=1
+pkgdesc='Elegant Facebook Messenger desktop app'
+arch=('any')
+url='https://github.com/sindresorhus/caprine'
+license=('MIT')
+depends=('electron')
+makedepends=('git' 'npm')
+options=(!emptydirs)
+source=("git+https://github.com/sindresorhus/caprine.git#commit=${_commit}"
+        'caprine.desktop'
+        'caprine.js')
+sha256sums=('SKIP'
+            'ddb693c06b0d4adf41c799fd4d97c2d9c106669034f69f7af53a63cc45911a97'
+            '76bc862279afe9250554b8b6cdafde529648285e72b6a88d75403ef6b29c571c')
+
+build() {
+    cd ${pkgname}
+
+    npm install --ignore-scripts
+    npx tsc
+    rm -r node_modules
+    npm install --ignore-scripts --production
+}
+
+package() {
+    cd ${pkgname}
+
+    appdir=/usr/lib/${pkgname}
+
+    install -d "${pkgdir}"${appdir}
+    cp -r * "${pkgdir}"${appdir}
+
+    install -dm755 "${pkgdir}/usr/share/pixmaps"
+    install -m644 build/icon.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+
+    install -Dm755 "${srcdir}"/${pkgname}.js "${pkgdir}"/usr/bin/${pkgname}
+    install -Dm644 "${srcdir}"/${pkgname}.desktop \
+            "${pkgdir}"/usr/share/applications/${pkgname}.desktop
+
+    install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
+    ln -s $(realpath -m --relative-to=/usr/share/licenses/${pkgname} ${appdir}/license) \
+        "${pkgdir}"/usr/share/licenses/${pkgname}
+
+    # Clean up
+    rm -r "${pkgdir}"${appdir}/{build,source,tsconfig.json}
+    find "${pkgdir}"${appdir} \
+        -name "package.json" \
+            -exec sed -e "s|${srcdir}/${pkgname}|${appdir}|" \
+                -i {} \; \
+        -or -name ".*" -prune -exec rm -r '{}' \; \
+        -or -name "bin" -prune -exec rm -r '{}' \; \
+        -or -name "example" -prune -exec rm -r '{}' \; \
+        -or -name "examples" -prune -exec rm -r '{}' \; \
+        -or -name "man" -prune -exec rm -r '{}' \; \
+        -or -name "scripts" -prune -exec rm -r '{}' \; \
+        -or -name "test" -prune -exec rm -r '{}' \;
+}

Deleted: caprine.desktop
===================================================================
--- caprine.desktop	2021-05-09 09:13:34 UTC (rev 928992)
+++ caprine.desktop	2021-05-09 09:14:13 UTC (rev 928993)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Caprine
-GenericName=IM Client
-Comment=Unofficial Facebook Messenger app
-Icon=caprine
-Exec=caprine
-Categories=GTK;InstantMessaging;Network;
-StartupNotify=true

Copied: caprine/repos/community-any/caprine.desktop (from rev 928992, caprine/trunk/caprine.desktop)
===================================================================
--- caprine.desktop	                        (rev 0)
+++ caprine.desktop	2021-05-09 09:14:13 UTC (rev 928993)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Caprine
+GenericName=IM Client
+Comment=Unofficial Facebook Messenger app
+Icon=caprine
+Exec=caprine
+Categories=GTK;InstantMessaging;Network;
+StartupNotify=true

Deleted: caprine.js
===================================================================
--- caprine.js	2021-05-09 09:13:34 UTC (rev 928992)
+++ caprine.js	2021-05-09 09:14:13 UTC (rev 928993)
@@ -1,29 +0,0 @@
-#!/usr/bin/electron
-
-const name = 'caprine';
-
-const {app} = require('electron');
-const fs = require('fs');
-const path = require('path');
-
-// Change command name.
-const fd = fs.openSync('/proc/self/comm', fs.constants.O_WRONLY);
-fs.writeSync(fd, name);
-fs.closeSync(fd);
-
-// Remove first command line argument (/usr/bin/electron).
-process.argv.splice(0, 1);
-
-// Set application paths.
-const appPath = path.join(path.dirname(__dirname), 'lib', name);
-const packageJson = require(path.join(appPath, 'package.json'));
-const productName = packageJson.productName;
-app.setAppPath(appPath);
-app.setDesktopName(name + '.desktop');
-app.setName(productName);
-app.setPath('userCache', path.join(app.getPath('cache'), productName));
-app.setPath('userData', path.join(app.getPath('appData'), productName));
-app.setVersion(packageJson.version);
-
-// Run the application.
-require('module')._load(appPath, module, true);

Copied: caprine/repos/community-any/caprine.js (from rev 928992, caprine/trunk/caprine.js)
===================================================================
--- caprine.js	                        (rev 0)
+++ caprine.js	2021-05-09 09:14:13 UTC (rev 928993)
@@ -0,0 +1,29 @@
+#!/usr/bin/electron
+
+const name = 'caprine';
+
+const {app} = require('electron');
+const fs = require('fs');
+const path = require('path');
+
+// Change command name.
+const fd = fs.openSync('/proc/self/comm', fs.constants.O_WRONLY);
+fs.writeSync(fd, name);
+fs.closeSync(fd);
+
+// Remove first command line argument (/usr/bin/electron).
+process.argv.splice(0, 1);
+
+// Set application paths.
+const appPath = path.join(path.dirname(__dirname), 'lib', name);
+const packageJson = require(path.join(appPath, 'package.json'));
+const productName = packageJson.productName;
+app.setAppPath(appPath);
+app.setDesktopName(name + '.desktop');
+app.setName(productName);
+app.setPath('userCache', path.join(app.getPath('cache'), productName));
+app.setPath('userData', path.join(app.getPath('appData'), productName));
+app.setVersion(packageJson.version);
+
+// Run the application.
+require('module')._load(appPath, module, true);



More information about the arch-commits mailing list