makedeb
Chat for Communities and Friends
Click here to go back to the commit logs for discord.
Hash: 60aeb4972cc3b6898e7cd85b172ed17915d70e52
Message: Updating discord to 0.0.60, with test to solve install on noble
diff --git a/.SRCINFO b/.SRCINFO
index e8fa18f..b6ab7fb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = discord
pkgbase = discord
pkgdesc = Chat for Communities and Friends
pkgrel = 1
-pkgver = 0.0.57
+pkgver = 0.0.60
url = https://discord.com
arch = amd64
depends = libc6
@@ -15,17 +15,10 @@ depends = libnss3
depends = libstdc++6
depends = libxss1
depends = libxtst6
-depends = libappindicator1
license = custom
-source = discord::https://dl.discordapp.net/apps/linux/0.0.57/discord-0.0.57.deb
-b2sums = 9821f4b2d95f5f9621857031e9d4957ee5c13145fce63b9b6e194f9f669cb99fa3e2ec200648adf2b45e4e45de4fa54bebbc1b45ee5d405a59e9121b8ea59964
-bullseye_depends = libc6
-bullseye_depends = libasound2
-bullseye_depends = libatomic1
-bullseye_depends = libnotify4
-bullseye_depends = libnspr4
-bullseye_depends = libnss3
-bullseye_depends = libstdc++6
-bullseye_depends = libxss1
-bullseye_depends = libxtst6
-bullseye_depends = libayatana-appindicator1
+optdepends = libappindicator1: Allow the app do display a menu in the system tray,
+optdepends = libayatana-appindicator1: Allow the app to display a menu in the system tray
+source = discord::https://dl.discordapp.net/apps/linux/0.0.60/discord-0.0.60.deb
+b2sums = 94485fe1b28cbc43971b17bd8a25e0716361e64c57e67956855ffdfafe245a3911f2bccbd403230224daa71771add36b5caf990934b2917d89335b65854e0972
+optdepends = libappindicator1: Allow the app do display a menu in the system tray,
+optdepends = libayatana-appindicator1: Allow the app to display a menu in the system tray
diff --git a/PKGBUILD b/PKGBUILD
index 68e7091..e507759 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,21 +4,21 @@
# Contributor: Hunter Wittenborn <hunter@hunterwittenborn.com>
pkgname='discord'
-pkgver='0.0.57'
+pkgver='0.0.60'
pkgrel='1'
pkgdesc="Chat for Communities and Friends"
arch=('amd64')
_base_depends=('libc6' 'libasound2' 'libatomic1' 'libnotify4' 'libnspr4' 'libnss3' 'libstdc++6' 'libxss1' 'libxtst6')
-depends=("${_base_depends[@]}" 'libappindicator1')
-bullseye_depends=("${_base_depends[@]}" 'libayatana-appindicator1')
+depends=("${_base_depends[@]}")
+optdepends=('libappindicator1: Allow the app do display a menu in the system tray', 'libayatana-appindicator1: Allow the app to display a menu in the system tray')
url="https://discord.com"
license=('custom')
source=("${pkgname}::https://dl.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.deb")
-b2sums=('9821f4b2d95f5f9621857031e9d4957ee5c13145fce63b9b6e194f9f669cb99fa3e2ec200648adf2b45e4e45de4fa54bebbc1b45ee5d405a59e9121b8ea59964')
+b2sums=('94485fe1b28cbc43971b17bd8a25e0716361e64c57e67956855ffdfafe245a3911f2bccbd403230224daa71771add36b5caf990934b2917d89335b65854e0972')
package() {
+ tar -xf 'control.tar.gz'
tar -xf 'data.tar.gz' -C "${pkgdir}"
- mkdir -p "${pkgdir}/DEBIAN"
- tar -xf 'control.tar.gz' -C "${pkgdir}/DEBIAN"
- rm "${pkgdir}/DEBIAN/control"
+
+ postinst=src/postinst
}