summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d23e945dbe98bd2406e9418eb73cd44bac4dfbbe (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
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Tab Fitts <tfitts [at] spryservers [dot] net>
# Contributor: oguzkagan <me at oguzkaganeren dot com dot tr>
# Contributor: Sibren Vasse <arch at sibrenvasse dot nl>
#

pkgname=splashtop-streamer
pkgver=3.5.4.0
pkgrel=1
pkgdesc="Splashtop Remote Streamer. Remotely access your desktop from any device from anywhere!"
arch=('x86_64')
url="https://www.splashtop.com"
license=('Proprietary')
groups=('')
depends=('bash-completion' 'cairo>=1.2.4' 'curl>=7.47.0' 'dbus' 'dbus-glib' 'desktop-file-utils' 'gcc>=3.0' 'gdk-pixbuf2' 'glib2>=2.43.2' 'gtk3>=3.5.12' 'hicolor-icon-theme' 'libappindicator-gtk3>=0.2.92' 'libnotify>=0.7.0' 'libproxy>=0.4.11' 'libpulse>=0.99.1' 'libxcb>=1.3' 'lshw' 'pam>=0.99.7.1' 'systemd-libs>=217' 'uriparser>=0.6.0' 'util-linux-libs>=2.16' 'xcb-util>=0.4.0' 'xcb-util-keysyms>=0.4.0' 'zlib>=1.2.0' 'binutils' 'libxrandr' 'libxfixes' 'libxtst')
provides=('splashtop-streamer')
backup=('etc/dbus-1/system.d/com.splashtop.streamer.Daemon.conf')
options=('!strip' '!emptydirs')
install=${pkgname}.install
source=("https://download.splashtop.com/linux/STB_CSRS_Ubuntu_v${pkgver}_amd64.tar.gz")
sha512sums=('f87a5c2ef7253a5b738fbbddc9f9bae8538797fdbd299be8658cdf24b85bd15cc286165173f0607669c255f256db71b85c049a426fc954cc5058db7a99dbf08e')
prepare(){
    tar xzf STB_CSRS_Ubuntu_v${pkgver}_amd64.tar.gz
    ar -x Splashtop_Streamer_Ubuntu_amd64.deb
}

package(){

	# Extract package data
	tar xf data.tar.xz -C "${pkgdir}"

	# Fix directory structure differences
	cd "${pkgdir}"

	install -D -m644 "${pkgdir}/opt/splashtop-streamer/EULA.htm" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
	mkdir -p usr/lib 2> /dev/null; mv lib/* usr/lib; rm -rf lib

	cd ..

}