Package Details: lightcord-git 0.1.5.r40.gf150671-1

Git Clone URL: https://aur.archlinux.org/lightcord-git.git (read-only, click to copy)
Package Base: lightcord-git
Description: A simple - customizable - Discord Client
Upstream URL: https://github.com/Lightcord/Lightcord
Keywords: lightcord
Licenses: MIT
Conflicts: lightcord-bin
Provides: lightcord
Submitter: pryme-svg
Maintainer: pryme-svg
Last Packager: pryme-svg
Votes: 4
Popularity: 0.036851
First Submitted: 2020-10-18 03:16
Last Updated: 2021-05-15 00:57

Latest Comments

philipborg commented on 2021-05-13 11:23

nvm install ${_nodeversion} && nvm use ${_nodeversion} in build file but no dependency on nvm.

pryme-svg commented on 2021-05-03 02:08

Should work now. Turns out to be a nodejs incompatibility.

pryme-svg commented on 2021-03-19 03:33

npm says that the cross-spawn module can't be found, although it is listed in the package.json as a dependency and should be installed with the devInstall command. Curiously, lightcord builds when manually cloning and installing, but makepkg fails.

I have filed a bug upstream. Until this issue is fixed, I suggest using lightcord-bin or the AppImage provided on the releases page.

philipborg commented on 2021-03-16 17:23

I have tried cleaning build files, npm cache verify, npm cache clean --force. I have tried getting it to work for a few days now, running manjaro KDE.

[More log here]
added 1 package, and audited 2 packages in 2s

found 0 vulnerabilities
[INFO] Minifying /var/tmp/pamac-build-philipborg/lightcord-git/src/lightcord-git/splash/index.js to /var/tmp/pamac-build-philipborg/lightcord-git/src/lightcord-git/distApp/splash/index.js
[INFO] Copied files and minified them from /var/tmp/pamac-build-philipborg/lightcord-git/src/lightcord-git/splash.
[INFO] Installing 9 packages...
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

added 77 packages, and audited 78 packages in 9s

4 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
[INFO] Build took 29790ms.

> lightcord@0.1.5 build:electron
> node scripts/build_electron.js

node:internal/modules/cjs/loader:926
  throw err;
  ^

Error: Cannot find module 'cross-spawn'
Require stack:
- /var/tmp/pamac-build-philipborg/lightcord-git/src/lightcord-git/scripts/build_electron.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:923:15)
    at Function.Module._load (node:internal/modules/cjs/loader:768:27)
    at Module.require (node:internal/modules/cjs/loader:995:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/var/tmp/pamac-build-philipborg/lightcord-git/src/lightcord-git/scripts/build_electron.js:1:15)
    at Module._compile (node:internal/modules/cjs/loader:1091:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1120:10)
    at Module.load (node:internal/modules/cjs/loader:971:32)
    at Function.Module._load (node:internal/modules/cjs/loader:812:14)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/var/tmp/pamac-build-philipborg/lightcord-git/src/lightcord-git/scripts/build_electron.js'
  ]
}
==> ERROR: A failure occurred in build().
    Aborting...

jonathon commented on 2021-03-09 21:46

Releases are being tagged; have you thought about including them in the pkgver? For example:

diff --git i/PKGBUILD w/PKGBUILD
index 39a3acf..b818691 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: pryme-svg <edoc.www@gmail.com>

 pkgname=lightcord-git
-pkgver=r401.75bc92d
+pkgver=0.1.5
 pkgrel=1
 pkgdesc="A simple - customizable - Discord Client"
 arch=('x86_64')
@@ -20,8 +20,8 @@ source=("$pkgname::git://github.com/Lightcord/Lightcord.git"

 pkgver() {
     cd "$srcdir/$pkgname"
-    printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+    git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }

 md5sums=('SKIP'

philipborg commented on 2020-12-13 15:12

@pryme-svg Clean build worked. :) So I suggest the same solution for anyone else having the same issue.

pryme-svg commented on 2020-12-11 04:32

@philipborg I cannot reproduce this error, although this is a build error, not a problem with the package. Have you tried to cleanbuild? It is possible that glasstron was updated.

philipborg commented on 2020-12-09 16:52

I get this exception when trying to upgrade from r399.3372285-1 to r401.75bc92d-1 Running Manjaro KDE.

make: Entering directory '/var/tmp/pamac-build-philipborg/lightcord-git/src/lightcord-git/distApp/node_modules/glasstron/build'
  SOLINK_MODULE(target) Release/obj.target/dwm.node
  COPY Release/dwm.node
make: Leaving directory '/var/tmp/pamac-build-philipborg/lightcord-git/src/lightcord-git/distApp/node_modules/glasstron/build'

> glasstron@0.0.4 postinstall /var/tmp/pamac-build-philipborg/lightcord-git/src/lightcord-git/distApp/node_modules/glasstron
> npm run build


> glasstron@0.0.4 build /var/tmp/pamac-build-philipborg/lightcord-git/src/lightcord-git/distApp/node_modules/glasstron
> node ./binding.js

Glasstron's native DWM addon was built. Cleaning up...
node:internal/process/promises:225
          triggerUncaughtException(err, true /* fromPromise */);
          ^

[Error: ENOTEMPTY: directory not empty, rmdir '/var/tmp/pamac-build-philipborg/lightcord-git/src/lightcord-git/distApp/node_modules/glasstron/build/Release'] {
  errno: -39,
  code: 'ENOTEMPTY',
  syscall: 'rmdir',
  path: '/var/tmp/pamac-build-philipborg/lightcord-git/src/lightcord-git/distApp/node_modules/glasstron/build/Release'
}

A complete log can be sent, but everything else looks fine.

oiler1729 commented on 2020-10-22 05:07

There is no longer a devInstall:64, it should be replaced with devInstall now