Package Details: datcord-bin 0.5.1-1

Git Clone URL: https://aur.archlinux.org/datcord-bin.git (read-only, click to copy)
Package Base: datcord-bin
Description: An open-source discord client.
Upstream URL: https://github.com/gamingdoom/datcord
Keywords: discord
Licenses: GPL3
Conflicts: datcord
Provides: datcord
Submitter: Cat2048
Maintainer: Cat2048
Last Packager: Cat2048
Votes: 2
Popularity: 0.000003
First Submitted: 2022-01-09 21:50 (UTC)
Last Updated: 2024-02-01 00:47 (UTC)

Dependencies (13)

Required by (0)

Sources (3)

Latest Comments

Cat2048 commented on 2022-10-09 22:10 (UTC)

@ptr1337 thank you, I have applied the diff to the PKGBUILD.

ptr1337 commented on 2022-10-09 20:23 (UTC)

Build is currently not building. Here is a patch to fix the current build (its still not that good the pkgbuild)

diff --git a/PKGBUILD b/PKGBUILD
index c7129b6..f882fd7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Cat2048
 pkgname=datcord-bin
 pkgver=0.3.2
-pkgrel=1
+pkgrel=2
 pkgdesc="An open-source discord client."
 arch=('x86_64')
 url="https://github.com/gamingdoom/datcord"
@@ -15,18 +15,16 @@ optdepends=('networkmanager: Location detection via available WiFi networks'
             'xdg-desktop-portal: Screensharing with Wayland')
 provides=(datcord)
 conflicts=(datcord)
-replaces=()
-source=(https://github.com/gamingdoom/datcord/releases/latest/download/datcord-linux-$CARCH.tar.bz2)
-noextract=()
+source=("https://github.com/gamingdoom/datcord/releases/latest/download/datcord-linux-$CARCH.tar.bz2"
+               "datcord.desktop"
+               "datcord.png")
 sha256sums=('SKIP')

 package() {
        mkdir -p "$pkgdir"/usr/bin/datcord.d
        cd "$srcdir/datcord"
-       chmod -R 755 *
-       cp -R  * "$pkgdir"/usr/bin/datcord.d 
+       cp -R  * "$pkgdir"/usr/bin/datcord.d
        ln -s /usr/bin/datcord.d/datcord "$pkgdir"/usr/bin/datcord
-       cd ../..
-       install -Dvm 775 datcord.desktop "$pkgdir"/usr/share/applications/datcord.desktop
-       install -Dvm 775 datcord.png "$pkgdir"/usr/share/icons/hicolor/256x256/apps/datcord.png
+       install -Dvm 775 "$srcdir"/datcord.desktop "$pkgdir"/usr/share/applications/datcord.desktop
+       install -Dvm 775 "$srcdir"/datcord.png "$pkgdir"/usr/share/icons/hicolor/256x256/apps/datcord.png
 }