# discord - Discord client
# Generated from manifest.tsv by gen-ports.py. Edit the manifest, not this file,
# unless the package needs something the template cannot express - in which case
# drop a `recipe.local` beside it and it will be preserved.
name=discord
version=0.0.130
release=1
desc="Discord client"
url="https://discord.com/"
license="Discord-proprietary"
depend="glibc electron alsa-lib mesa"
makedepend=""
source="https://dl.discordapp.net/apps/linux/0.0.130/discord-0.0.130.tar.gz"
sha256="SKIP"

# Repackaged upstream build. Arctic prefers to compile from source, but a few
# things ship only as binaries; those live here with the licence stated plainly.
options="!strip"

package() {
	cd "discord-0.0.130"
	install -d "$pkgdir/opt/discord"
	cp -a . "$pkgdir/opt/discord/"
	install -d "$pkgdir/usr/bin"
	ln -sf "/opt/discord/discord" "$pkgdir/usr/bin/discord"
}
