makedeb


discord-ptb 0.0.39-1


Chat for Communities and Friends. PTB branch.

Viewing /PKGBUILD.

View raw.

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

# Maintainer: hiddeninthesand <hiddeninthesand at protonmail dot com>

pkgname='discord-ptb'
pkgver='0.0.39'
pkgrel='1'
pkgdesc="Chat for Communities and Friends. PTB branch."
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-ptb.discordapp.net/apps/linux/${pkgver}/${pkgname}-${pkgver}.deb")
b2sums=('9cf78a24410ed737d9f22f46aa46b72a92303619019440996d9380e597c18c250771290d7d3b8622b5223787002f8c6281d3198ba6f6fe3ae4a89c9441973117')

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