blob: d854b8a19ef1744723866a96483ea0e22088019f (
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
|
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Jonas Heinrich <onny@project-insanity.org>
pkgname=sejda-desktop
pkgver=5.2.0
pkgrel=1
license=('custom:EULA')
pkgdesc='PDF editor'
arch=('x86_64')
url='http://www.sejda.com/desktop'
source=("https://sejda-cdn.com/downloads/sejda-desktop_${pkgver}_amd64.deb")
sha512sums=('c409ec993284e5d6fee942e6de657018889678ebad993a0ee1ab128ecff02411ca09bb7d73f92aac4052a30c0e620a3eed02d4073e28d8ec1dad0a476f0471cf')
options=(!strip)
package() {
bsdtar -xf data.tar.xz -C "${pkgdir}"
install -d "${pkgdir}/usr/bin"
ln -s /opt/sejda-desktop/sejda-desktop "${pkgdir}/usr/bin/sejda-desktop"
# fix permissions
find "${pkgdir}" -type d -exec chmod 755 {} \;
# symlink licenses
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
for _i in EULA.pdf LICENSE.electron LICENSES.chromium.html; do
ln -s /opt/sejda-desktop/${_i} "${pkgdir}/usr/share/licenses/${pkgname}/${_i}"
done
}
|