Package Details: fetchcord 2.7.7-1

Git Clone URL: (read-only, click to copy)
Package Base: fetchcord
Description: FetchCord grabs your OS info and displays it as Discord Rich Presence
Upstream URL:
Licenses: MIT
Provides: fetchcord
Submitter: BlivionIaG
Maintainer: BlivionIaG
Last Packager: BlivionIaG
Votes: 0
Popularity: 0.000000
First Submitted: 2021-06-29 20:43
Last Updated: 2021-09-15 21:13

Required by (0)

Sources (1)

Latest Comments

g3tchoo commented on 2021-10-29 03:21

As of r772.5030351-1, it seems like the aur package python-pypresence is needed as a dependency; or else you get a ModuleNotFoundError

lmartinez-mirror commented on 2021-06-29 20:59

You shouldn't need to handle the case of modified systemd files, upstream says they can be edited using systemctl --user edit fetchcord instead.

EDIT: Got a patch you can use for this package.

diff --git a/PKGBUILD b/PKGBUILD
index dfe5b02..e669b6a 100755
@@ -1,42 +1,33 @@
 # Maintainer BlivionIaG <>
+# Contributor Luis Martinez <luis dot martinez at tuta dot io>

-pkgdesc="FetchCord grabs your OS info and displays it as Discord Rich Presence"
+pkgdesc="Displays OS info and system stats as Discord Rich Presence"
-depends=('neofetch' 'python-psutil' 'python-setuptools')
+depends=('neofetch' 'python>=3.6' 'python-pypresence' 'python-importlib_resources' 'python-psutil')
+## GitHub lags behind PyPI
+        "LICENSE-$pkgver::"
+        "fetchcord-$pkgver.service::")
+            '4d9727b5d044707d6e68de4eed02d0064c930be14f74ee49d8f4e2cca83c8da0'
+            '0f2f171ac4fe3fc7e9a8a3a779629924975b78a70b23677e480ff24be95d64e7')

-pkgver() {
-  cd "$srcdir/fetchcord"
-  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 build() {
-  cd "$srcdir/fetchcord"
+  cd "$_name-$pkgver"
   python build

 package() {
-  cd "$srcdir/fetchcord"
-  python install --root="$pkgdir" --optimize=1
-  systemddir="/usr/lib/systemd/user"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
-  if [ -e "$systemddir/fetchcord.service" ]; then
-    echo "Not overwriting existing fetchcord.service" && install -Dm644 "$systemddir/fetchcord.service" "$pkgdir$systemddir/fetchcord.service";
-  else 
-    install -Dm644 systemd/fetchcord.service "$pkgdir$systemddir/fetchcord.service";
-  fi
+  cd "$_name-$pkgver"
+  python install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 "$srcdir/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm644 "$srcdir/fetchcord.service" -t "$pkgdir/usr/lib/systemd/user/"