blob: b9d221fedaf9b690c5a71840e7b894f905509104 (
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.8.3
pkgrel=1
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_7.8.3_amd64.deb")
sha512sums_x86_64=('6b02da9f7c3511a2f03c8e7036094c3e20e99f7a642f3a1e9c63541ba3e14645dea3abfc5b8c65f466dc0fc3ff10ebf18730d8cd5040a8e2560bca5035bb9027')
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
}
|