summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2020-03-12 20:58:19 -0400
committerChris Severance2020-03-12 20:58:19 -0400
commitb3061da495bcbaf4f99981a4a51cd9ca34e97a52 (patch)
tree4c86cc542f22460d64e17f05b07cac285b821dd9
parent2ec146331dd100fbde177707ffd50a73c8b881fc (diff)
downloadaur-b3061da495bcbaf4f99981a4a51cd9ca34e97a52.tar.gz
autu: Update to 6.0.6-1
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e608d53f196..df23d612d7f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,6 +16,11 @@ sha512sums=('e4d64b856f4bae035df471f58ce4373b8abd7b612b5899d154561ad8c401008b77e
options=('!strip')
PKGEXT='.tar.gz'
+prepare() {
+ bsdtar -xf 'control.tar.gz'
+ sed -e 's:/opt/:opt/:g' 'postinst' > 'postinst.Arch'
+}
+
package() {
bsdtar --no-same-owner --no-same-permissions -xf 'data.tar.gz' -C "${pkgdir}"
cd "${pkgdir}"
@@ -25,11 +30,7 @@ package() {
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 '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'
+ bash "${srcdir}/postinst.Arch"
# symlink licenses
install -d "usr/share/licenses/${pkgname}"