summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8508a761137d5023c6a57b8d03cd3d4e18d51b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
# Maintainer: zocker_160 <zocker1600 at posteo dot net>

pkgname=discord
pkgver=0.0.16
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' 'libappindicator1' 'libc++1')
depends=("${_base_depends[@]}" 'libappindicator1')
#bullseye_depends=("${_base_depends[@]}" 'libayatana-appindicator1')

url="https://discord.com"
license=('custom')
source=("https://dl.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.deb")
sha256sums=('6db1cd31382d2e1bd12fd74f914b558df28ed99421983c01e1e4fa6cb5f694ca')

package() {
    msg2 "Extracting data.tar.gz..."
    tar -xf 'data.tar.gz' -C "${pkgdir}"

    msg2 "Extracting control.tar.xz..."
    mkdir -p "${pkgdir}/DEBIAN"
    tar -xf 'control.tar.gz' -C "${pkgdir}/DEBIAN"
    rm "${pkgdir}/DEBIAN/control"
}