summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD20
2 files changed, 19 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3d11a26ac68..1cab808d543 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
-# Generated by mksrcinfo v8
-# Tue Jan 3 09:11:48 UTC 2017
pkgbase = sejda-desktop
pkgdesc = PDF editor
- pkgver = 2.1.1
+ pkgver = 2.5.10
pkgrel = 1
url = http://www.sejda.com/desktop
- arch = i686
arch = x86_64
- license = unknown
- source = https://bitbucket.org/sejdapdf/sejda-desktop-public/downloads/sejda-desktop_2.1.1_amd64.deb
- sha512sums = b30a1719b40f7d4663d7e19214cbb53dfc78c87bc4303796c3f5c1188d16f0482e825a7745041cb98bd1f1b46d157a74f3fe8383547a6ec86dbb5371ba3ed3ef
+ license = custom:EULA
+ options = !strip
+ source = https://bitbucket.org/sejdapdf/sejda-desktop-public/downloads/sejda-desktop_2.5.10_amd64.deb
+ sha512sums = 5129c16badb1abec4ffc8077af1f1a0912957618d9c5af9b59425632afa2fb2866a1df680444066d77c90bd6b8aae77a59b727294f1559148314c182cedd022f
pkgname = sejda-desktop
diff --git a/PKGBUILD b/PKGBUILD
index 11d5b3661c6..778974b2f52 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,27 @@
# Contributor: Jonas Heinrich <onny@project-insanity.org>
pkgname=sejda-desktop
-pkgver=2.1.1
+pkgver=2.5.10
pkgrel=1
-license=('unknown')
+license=('custom:EULA')
pkgdesc='PDF editor'
-arch=("i686" "x86_64")
+arch=('x86_64')
url='http://www.sejda.com/desktop'
source=("https://bitbucket.org/sejdapdf/sejda-desktop-public/downloads/sejda-desktop_${pkgver}_amd64.deb")
-sha512sums=('b30a1719b40f7d4663d7e19214cbb53dfc78c87bc4303796c3f5c1188d16f0482e825a7745041cb98bd1f1b46d157a74f3fe8383547a6ec86dbb5371ba3ed3ef')
+sha512sums=('5129c16badb1abec4ffc8077af1f1a0912957618d9c5af9b59425632afa2fb2866a1df680444066d77c90bd6b8aae77a59b727294f1559148314c182cedd022f')
options=(!strip)
package() {
- cd "$srcdir"
- bsdtar -xf data.tar.xz -C "$pkgdir"
+ 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
}