makedeb


discord 0.0.21-1


Chat for Communities and Friends

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for discord.

# Maintainer: hiddeninthesand <hiddeninthesand at pm dot me>
# Contributor: zocker_160 <zocker1600 at posteo dot net>
# Contributor: Hunter Wittenborn <hunter@hunterwittenborn.com>

pkgname='discord'
pkgver='0.0.21'
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=("${pkgname}::https://dl.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.deb")
b2sums=('9ee1f16c026d03289853dba9f23597a3a69d0d7c55793ae78b2390aed42eeb6b1024189d2535febd31203c3853e33cc410564d211cf47981d62f2264dbad9224')

package() {
    tar -xf 'data.tar.gz' -C "${pkgdir}"
    mkdir -p "${pkgdir}/DEBIAN"
    tar -xf 'control.tar.gz' -C "${pkgdir}/DEBIAN"
    rm "${pkgdir}/DEBIAN/control"
}