mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
parent
82362b86b8
commit
89189b67e4
1 changed files with 30 additions and 0 deletions
30
srcpkgs/discord-ptb/template
Normal file
30
srcpkgs/discord-ptb/template
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Template file for 'discord-ptb'
|
||||||
|
pkgname="discord-ptb"
|
||||||
|
version="0.0.5"
|
||||||
|
revision=1
|
||||||
|
wrksrc="DiscordPTB"
|
||||||
|
depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic"
|
||||||
|
only_for_archs="x86_64"
|
||||||
|
nopie=yes
|
||||||
|
repository=nonfree
|
||||||
|
restricted=yes
|
||||||
|
short_desc="Proprietary freeware VoIP application"
|
||||||
|
maintainer="Abel Graham <abel@abelgraham.com>"
|
||||||
|
license="proprietary"
|
||||||
|
homepage="https://discordapp.com/"
|
||||||
|
distfiles="https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"
|
||||||
|
checksum="64f7a5d7d4e6116297a8979cb4723d1a9e576c5e4c564915c8e0309b9c98ba04"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
local package_location="usr/lib/$pkgname" item
|
||||||
|
vmkdir usr/share/pixmaps
|
||||||
|
vcopy discord.png /usr/share/pixmaps/
|
||||||
|
vmkdir usr/share/applications
|
||||||
|
vcopy discord-ptb.desktop /usr/share/applications/
|
||||||
|
vmkdir ${package_location}
|
||||||
|
for item in locales resources DiscordPTB libffmpeg.so libnode.so natives_blob.bin snapshot_blob.bin content_shell.pak icudtl.dat; do
|
||||||
|
vcopy "${item}" "${package_location}"
|
||||||
|
done
|
||||||
|
vmkdir usr/bin
|
||||||
|
ln -sfr $DESTDIR/${package_location}/DiscordPTB $DESTDIR/usr/bin/discord-ptb
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue