makedeb
Chat for Communities and Friends
Viewing /PKGBUILD
.
Click here to go back to the Git tree for discord-canary.
# Maintainer: hiddeninthesand <hiddeninthesand at protonmail dot com>
pkgname='discord-canary'
pkgver='0.0.148'
pkgrel='1'
pkgdesc="Chat for Communities and Friends"
arch=('x86_64')
_base_depends=('libc6' 'libasound2' 'libatomic1' 'libgconf-2-4' 'libnotify4' 'libnspr4' 'libnss3' 'libstdc++6' 'libxss1'
'libxtst6' 'libc++1')
depends=("${_base_depends[@]}" 'libappindicator1')
bullseye_depends=("${_base_depends[@]}" 'libayatana-appindicator1')
url="https://discord.com"
license=('custom')
source=("https://dl-canary.discordapp.net/apps/linux/${pkgver}/${pkgname}-${pkgver}.deb")
b2sums=('e217d7bc3fd2f255fb79367cecebfb3f8663aec92602d1d5b300352c42a7b37c788c841a161d6eb69dfb9669e5f724b7fa352bd78116ec2bd1421f5736f23f0e')
package() {
tar -xf 'data.tar.gz' -C "${pkgdir}"
mkdir -p "${pkgdir}/DEBIAN"
tar -xf 'control.tar.gz' -C "${pkgdir}/DEBIAN"
rm "${pkgdir}/DEBIAN/control"
}