-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
26 lines (21 loc) · 1013 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: ZorinArch <[email protected]>
pkgname="penpot-desktop-bin"
pkgver=0.2.4
pkgrel=2
pkgdesc="Penpot Desktop delivers a desktop-like experience for Penpot users with the additional of integrating tabs to conveniently traverse back and forth between projects."
arch=('x86_64')
conflicts=("penpot-desktop")
depends=("c-ares" "ffmpeg" "gtk3" "http-parser" "libevent" "libvpx" "libxslt" "libxss" "minizip" "nss" "re2" "snappy" "libnotify" "libappindicator-gtk3")
url="https://sudovanilla.com/code/Korbs/Penpot-Desktop/"
license=('MIT')
_filename=Penpot-Desktop-${pkgver}.pacman
source=("$_filename::https://sudovanilla.com/distribute/applications/penpot-desktop/latest/Penpot-Desktop.pacman")
noextract=("${_filename}")
md5sums=('SKIP')
package() {
tar -xJv -C "${pkgdir}" -f "${srcdir}/${_filename}" usr opt
mkdir "$pkgdir/usr/bin"
ln -s "/opt/Penpot Desktop" "$pkgdir/usr/bin/penpot-desktop"
# SUID chrome-sandbox for Electron 5+
chmod 4755 '/opt/Penpot Desktop/chrome-sandbox' || true
}