forked from jsherwani/aur-pop-bin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
33 lines (30 loc) · 1.87 KB
/
PKGBUILD
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
# Maintainer: Nemo <archlinux at captnemo dot in>
pkgname=screen-desktop-bin
pkgver=4.0.9
pkgrel=1
pkgdesc="Low latency videoconferencing & screen sharing with multiplayer drawing & control. Screen is a multiplayer screen sharing app that lets you work together like you’re in the same room."
arch=('x86_64')
url="https://screen.so"
depends=('alsa-lib' 'atk' 'at-spi2-atk' 'at-spi2-core' 'cairo' 'dbus' 'desktop-file-utils' 'expat' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3' 'hicolor-icon-theme' 'libcups' 'libnotify' 'libutil-linux' 'libx11' 'libxcb' 'libxcomposite' 'libxcursor' 'libxdamage' 'libxext' 'libxfixes' 'libxi' 'libxrandr' 'libxrender' 'libxss' 'libxtst' 'nspr' 'nss' 'pango' 'xpra')
optdepends=('apparmor'
'libgnome-keyring'
'pulseaudio'
'kde-cli-tools'
'trash-cli'
'xdg-utils'
'libappindicator-gtk3')
license=('custom')
options=('!strip' '!emptydirs')
source=("https://download.screen.so/desktop-app/linux/${pkgver}/screen-desktop_${pkgver}_amd64.deb")
sha512sums=('1b1935fd70f1af826bd0fc383c63b91217e696ed8f082f59eac2224a73aff451f96f5cc1498c31c87dcdacefbed97b558f644f2fc6a0745ccd6db7b5d2222266')
package(){
mkdir -p "${pkgdir}/opt/${pkgname}"
tar xf data.tar.xz
cp -r usr/lib/screen-desktop/* "${pkgdir}/opt/${pkgname}"
install -dm755 "$pkgdir"/usr/bin
ln -s /opt/"$pkgname"/Screen "$pkgdir/usr/bin/screen-desktop"
install -D -m644 "usr/share/applications/screen-desktop.desktop" "${pkgdir}/usr/share/applications/screen-desktop.desktop"
install -D -m644 "usr/share/pixmaps/screen-desktop.png" "${pkgdir}/usr/share/pixmaps/screen-desktop.png"
install -D -m644 "usr/share/doc/screen-desktop/copyright" "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
install -D -m644 "usr/lib/screen-desktop/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/chromium.LICENSE"
}