summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2020-03-12 20:45:34 -0400
committerChris Severance2020-03-12 20:45:34 -0400
commit2ec146331dd100fbde177707ffd50a73c8b881fc (patch)
tree3cd6de6db6b4b6e570c73ca5fb2a156d52ce621e
parent5b95d97f558d814bb5593d006dff65bc5db0cdb8 (diff)
downloadaur-2ec146331dd100fbde177707ffd50a73c8b881fc.tar.gz
autu: Update to 6.0.6-1
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD42
2 files changed, 28 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aa08d582ec0..0f2001e825f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = sejda-desktop
pkgdesc = PDF editor
- pkgver = 5.3.5
+ pkgver = 6.0.6
pkgrel = 1
url = http://www.sejda.com/desktop
arch = x86_64
license = custom:EULA
options = !strip
- source = https://sejda-cdn.com/downloads/sejda-desktop_5.3.5_amd64.deb
- sha512sums = 050203d439a745bc86b1723f343f2104d09f6d152d038c9aeb9854fda76ad13b4bf9b7040207bdf98ebdf1e64872148c0386ce78eb6ff67edf151ebbf3f547c3
+ source = https://sejda-cdn.com/downloads/sejda-desktop_6.0.6_amd64.deb
+ md5sums = 5d3e0ed5fdbe07313b3fefc0517c89e5
+ sha512sums = e4d64b856f4bae035df471f58ce4373b8abd7b612b5899d154561ad8c401008b77e5fcaf92f25fe66076bdb827ce86ee88981cc8b73172e72b1b0039237f3f89
pkgname = sejda-desktop
diff --git a/PKGBUILD b/PKGBUILD
index 0499788364b..e608d53f196 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,40 @@
-# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
+# Maintainer: 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=5.3.5
-pkgrel=1
+pkgname='sejda-desktop'
+pkgver='6.0.6'
+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=('050203d439a745bc86b1723f343f2104d09f6d152d038c9aeb9854fda76ad13b4bf9b7040207bdf98ebdf1e64872148c0386ce78eb6ff67edf151ebbf3f547c3')
-options=(!strip)
+md5sums=('5d3e0ed5fdbe07313b3fefc0517c89e5')
+sha512sums=('e4d64b856f4bae035df471f58ce4373b8abd7b612b5899d154561ad8c401008b77e5fcaf92f25fe66076bdb827ce86ee88981cc8b73172e72b1b0039237f3f89')
+options=('!strip')
+PKGEXT='.tar.gz'
package() {
- bsdtar -xf data.tar.gz -C "${pkgdir}"
- install -d "${pkgdir}/usr/bin"
- ln -s "${pkgdir}/opt/sejda-desktop/sejda-desktop" "${pkgdir}/usr/bin/sejda-desktop"
+ bsdtar --no-same-owner --no-same-permissions -xf 'data.tar.gz' -C "${pkgdir}"
+ cd "${pkgdir}"
+ install -d 'usr/bin'
+ ln -s '/opt/sejda-desktop/sejda-desktop' 'usr/bin/sejda-desktop'
+
+ find -type 'f' '(' -name '.DS_Store' -o -iname '*.bat' ')' -delete
# fix permissions
- find "${pkgdir}" -type d -exec chmod 755 {} \;
- find "${pkgdir}" -type f -exec chmod 644 {} \;
- chmod 755 "${pkgdir}"/opt/sejda-desktop/resources/vendor/desktop-launcher/bin/desktop-launcher
- chmod 755 "${pkgdir}"/opt/sejda-desktop/resources/vendor/java/bin/java
- chmod 755 "${pkgdir}"/opt/sejda-desktop/sejda-desktop
- chmod 755 "${pkgdir}"/usr/bin/sejda-desktop
+ #find "${pkgdir}" -type 'd' -exec chmod 755 '{}' ';'
+ #find "${pkgdir}" -type 'f' -exec chmod 644 '{}' ';'
+ #chmod 755 'opt/sejda-desktop/resources/vendor/desktop-launcher/bin/desktop-launcher'
+ ## chmod 755 'opt/sejda-desktop/resources/vendor/java-linux/bin/java'
+ #chmod 755 'opt/sejda-desktop/sejda-desktop'
# 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}"
+ install -d "usr/share/licenses/${pkgname}"
+ local _i
+ for _i in 'EULA.pdf' 'LICENSE.electron' 'LICENSES.chromium.html'; do
+ ln -s "/opt/sejda-desktop/${_i}" "usr/share/licenses/${pkgname}/${_i}"
done
}