summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 800cc3dcb8ec7733d36e3611453e8e94cf6f20c2 (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
# Maintainer: Nafis <mnabid.25@outlook.com>

pkgname=irccloud-bin
_pkgname=${pkgname%-bin}
pkgver=0.15.0
pkgrel=1
pkgdesc="Chat on IRC from anywhere, and never miss a message"
arch=('x86_64')
url="https://www.irccloud.com/"
license=('Apache')
depends=('gtk3' 'libnotify' 'nss' 'libxss' 'xdg-utils' 'at-spi2-core' 'libsecret')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("https://github.com/irccloud/irccloud-desktop/releases/download/v${pkgver}/${_pkgname}-desktop_${pkgver}_linux_amd64.deb")
md5sums=('2c029a634deb29cdadd5f0b9372b3db5')

package() {
	tar xf data.tar.xz -C ${pkgdir}

	# Link to the binary
	mkdir ${pkgdir}/usr/bin
	ln -sfv /opt/IRCCloud/irccloud ${pkgdir}/usr/bin/irccloud

	# SUID chrome-sandbox for Electron 5+
	chmod 4755 ${pkgdir}/opt/IRCCloud/chrome-sandbox
}