blob: e06ea7ea83fb58c24d66b1e7d87ecef18fbf3737 (
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
|
# Maintainer: Thibault Molleman <aur at thibaultmol d0t link>
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org>
# Contributor: Chris Severance aur.severach aATt spamgourmet dott com
# Contributor: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: James An <james@jamesan.ca>
# Contributor: Jonas Heinrich <onny@project-insanity.org>
pkgname=sejda-desktop
pkgver=7.7.5
pkgrel=2
pkgdesc="Proprietary commercial PDF editor"
arch=(x86_64)
url="https://www.sejda.com/desktop"
license=(LicenseRef-EULA)
depends=(libxcb libxfixes nspr alsa-lib libcups at-spi2-core libxrandr libdrm libxrender pango nss libxcomposite cairo
libxdamage libxkbcommon mesa gtk3 libx11 glibc bash expat libxext libxtst dbus libxi gcc-libs glib2)
options=('!strip')
source_x86_64=("https://downloads.sejda-cdn.com/sejda-desktop_${pkgver}_amd64.deb")
sha512sums_x86_64=('d6c0c4788f7953a0bb9a162c589716ebab3eba8e4f809bf9c458a62a6d1a30f0092bcd817d65abe3b6e97fce006bd9e6eabef745fcb212aeea8d50da338953f6')
package() {
bsdtar -xf "${srcdir}/data.tar.gz" -C "${pkgdir}/"
install -d "${pkgdir}"/usr/bin
ln -s /opt/sejda-desktop/sejda-desktop "${pkgdir}"/usr/bin/sejda-desktop
install -D "${pkgdir}"/opt/sejda-desktop/EULA.pdf -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -D "${pkgdir}"/opt/sejda-desktop/resources/vendor/desktop-launcher/LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
# Fix permission warning, our folders are 755 not 775 as in sejda package
chmod 755 -R "${pkgdir}"
# remove .DS_Store and .bat files
cd "${pkgdir}"
find -type 'f' '(' -name '.DS_Store' -o -iname '*.bat' ')' -delete
}
|