Package Details: gtkcord4-libadwaita-git r176.e20b928-1

Git Clone URL: https://aur.archlinux.org/gtkcord4-libadwaita-git.git (read-only, click to copy)
Package Base: gtkcord4-libadwaita-git
Description: Discord client written in go and gtk4 (with libadwaita)
Upstream URL: https://github.com/diamondburned/gtkcord4
Keywords: discord gnome gtk libadwaita
Licenses: GPL3
Conflicts: gtkcord4
Provides: gtkcord4
Submitter: joshuaelm
Maintainer: alissonlauffer (txtsd)
Last Packager: txtsd
Votes: 5
Popularity: 0.62
First Submitted: 2022-08-08 15:19 (UTC)
Last Updated: 2023-02-11 18:34 (UTC)

Latest Comments

txtsd commented on 2023-03-08 14:41 (UTC)

gtkcord4 now builds with libadwaita by default. A request for deletion can be filed for this package.

See: gtkcord4 gtkcord4-git gtkcord4-bin for replacements.

txtsd commented on 2023-02-11 11:22 (UTC)

Package doesn't build atm because of a change in dir and file names in package()

Here's a patch:

From 4fa384c883a4a557a609bde736af4f75ae21f81c Mon Sep 17 00:00:00 2001
From: txtsd <code@ihavea.quest>
Date: Sat, 11 Feb 2023 16:51:04 +0530
Subject: [PATCH] upgpkg: gtkcord4-libadwaita-git r176.e20b928-1

Signed-off-by: txtsd <code@ihavea.quest>
---
 .SRCINFO   | 4 ++--
 .gitignore | 5 +++++
 PKGBUILD   | 9 +++++----
 3 files changed, 12 insertions(+), 6 deletions(-)
 create mode 100644 .gitignore

diff --git a/.SRCINFO b/.SRCINFO
index 4c1500a..1a51781 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = gtkcord4-libadwaita-git
    pkgdesc = Discord client written in go and gtk4 (with libadwaita)
-   pkgver = r139.d3b9639
-   pkgrel = 2
+   pkgver = r176.e20b928
+   pkgrel = 1
    url = https://github.com/diamondburned/gtkcord4
    arch = any
    license = GPL3
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d118ab5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+src
+pkg
+gtkcord4
+
+*.tar.zst
diff --git a/PKGBUILD b/PKGBUILD
index 23ea928..bf22a4c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@

 pkgname=gtkcord4-libadwaita-git
 _pkgname=gtkcord4
-pkgver=r139.d3b9639
-pkgrel=2
+pkgver=r176.e20b928
+pkgrel=1
 pkgdesc='Discord client written in go and gtk4 (with libadwaita)'
 arch=('any')
 url='https://github.com/diamondburned/gtkcord4'
@@ -43,8 +43,9 @@ package() {
     cd "$_pkgname"
     install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
     install -Dm644 "$srcdir/$_pkgname/LICENSE.md" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
-    sed -i "s/Chat;/Chat;InstantMessaging;/" "$srcdir/$_pkgname/.nix/com.github.diamondburned.gtkcord4.desktop"
-    install -Dm644 "$srcdir/$_pkgname/.nix/com.github.diamondburned.gtkcord4.desktop" "$pkgdir/usr/share/applications/gtkcord4.desktop"
+    sed -i "s/Chat;/Chat;InstantMessaging;/" "$srcdir/$_pkgname/nix/xyz.diamondb.gtkcord4.desktop"
+    install -Dm644 "$srcdir/$_pkgname/nix/xyz.diamondb.gtkcord4.desktop" "$pkgdir/usr/share/applications/gtkcord4.desktop"
+    install -Dm644 "$srcdir/$_pkgname/xyz.diamondb.gtkcord4.metainfo.xml" "$pkgdir/usr/share/metainfo/gtkcord4.metainfo.xml"
     install -Dm644 "$srcdir/$_pkgname/internal/icons/png/logo.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/gtkcord4.png"
     install -Dm644 "$srcdir/$_pkgname/internal/icons/svg/logo.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/gtkcord4.png"
 }
-- 
2.39.1

txtsd commented on 2023-02-09 13:34 (UTC)

Can I have co-maintainer on here? I maintain and co-maintain the other gtkcord4 packages.

Chewing_Bever commented on 2023-01-27 08:18 (UTC)

I mentioned this with the non-libadwaita aur package as well: the arch value shouldn't be any, but rather x86_64 (and perhaps also aarch64, but I don't know whether the package works for that architecture).

It's a common misconception that any in the arch field means the package builds for any architecture (as go basically does). What it actually means however is that the resulting archive package works on any architecture (e.g. a package containing only Python files, which are simply text). This package builds architecture-specific binaries, so the arch value should instead be the architecture the package is supposed to be built for/on (usually that's just x86_64).

alissonlauffer commented on 2022-11-23 21:45 (UTC) (edited on 2022-11-23 22:20 (UTC) by alissonlauffer)

The .SRCINFO file does not match PKGBUILD, thus causing paru to always say that there's an update available (which is annoying).

Edit: Just noticed that this package was orphaned, so I adopted it and did the needed changes.

griffin commented on 2022-11-19 07:37 (UTC)

Should libadwaita be a dependency here?

FabioLolix commented on 2022-08-08 16:37 (UTC)

Hello, .srcinfo file is not updated