fixed mkdir /usr/bin

This commit is contained in:
E5ten 2018-06-14 21:49:51 -04:00
parent 00b69f0b8b
commit 5bd5d35937
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
pkgbase = discord-canary
pkgdesc = All-in-one voice and text chat for gamers that's free and secure.
pkgver = 0.0.52
pkgrel = 3
pkgrel = 5
url = https://discordapp.com/
install = DiscordCanary.install
arch = x86_64

View file

@ -5,7 +5,7 @@
pkgname=discord-canary
pkgver=0.0.52
pkgrel=3
pkgrel=5
pkgdesc="All-in-one voice and text chat for gamers that's free and secure."
arch=('x86_64')
url='https://discordapp.com/'
@ -43,6 +43,7 @@ package() {
sed -i s%/usr/share%/opt% ${pkgdir}/usr/share/applications/${pkgname}.desktop``
# Main binary
#install "${srcdir}/Discord.sh" "${pkgdir}/usr/bin/discord"
mkdir -p $pkgdir/usr/bin
ln -s "/opt/${pkgname}/DiscordCanary" "${pkgdir}/usr/bin/${pkgname}"
# Create symbolic link to the icon