Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : pdfsam | name : pdfsam | ||||
| version : 3.3.7 | version : 3.3.7 | ||||
| release : 3 | release : 4 | ||||
| source : | source : | ||||
| - https://github.com/torakiki/pdfsam/archive/v3.3.7.tar.gz : 6ebd654b84f5e85a240984aaf22f719f877ee9c9a69370594d5933a486f17cdd | - https://github.com/torakiki/pdfsam/archive/v3.3.7.tar.gz : 6ebd654b84f5e85a240984aaf22f719f877ee9c9a69370594d5933a486f17cdd | ||||
| license : AGPL-3.0-only | license : AGPL-3.0-only | ||||
| component : office | component : office | ||||
| summary : PDFsam Basic, a free, open source, multi-platform software designed to | summary : PDFsam Basic, a free, open source, multi-platform software designed to | ||||
| split, merge, extract pages, mix and rotate PDF files. | split, merge, extract pages, mix and rotate PDF files. | ||||
| description: | | description: | | ||||
| PDFsam Basic, a free, open source, multi-platform software designed to split, merge, extract pages, mix and rotate PDF files. | PDFsam Basic, a free, open source, multi-platform software designed to split, merge, extract pages, mix and rotate PDF files. | ||||
| builddeps : | builddeps : | ||||
| - apache-maven | - apache-maven | ||||
| - openjdk-8-devel | |||||
| - openjfx-8 | - openjfx-8 | ||||
| rundeps : | rundeps : | ||||
| - openjfx-8 | - openjfx-8 | ||||
| - openjdk-8 | |||||
| networking : yes | networking : yes | ||||
| setup : | | |||||
| sed 's|http://|https://|' -i pom.xml | |||||
| build : | | build : | | ||||
| export MAVEN_OPTS="-Dmaven.repo.local=./m2" | export MAVEN_OPTS="-Dmaven.repo.local=./m2" | ||||
| mvn -DskipTests=true -Pbasic-release package | mvn -DskipTests=true -Pbasic-release package | ||||
| install : | | install : | | ||||
| install -Dm 00744 pdfsam-community/target/pdfsam-community-$version.jar $installdir/usr/share/pdfsam/pdfsam-community.jar | install -Dm00644 pdfsam-community/target/pdfsam-community-$version.jar $installdir/usr/share/pdfsam/pdfsam.jar | ||||
| ## icons | install -Dm00644 pdfsam-community/src/deb/icon.svg $installdir/usr/share/icons/hicolor/scalable/apps/pdfsam.svg | ||||
| pushd pdfsam-community/src | install -Dm00755 $pkgfiles/pdfsam.sh $installdir/usr/bin/pdfsam | ||||
| for sz in 16 24 32 48 64 96 128 256 512; do | install -Dm00644 $pkgfiles/pdfsam.desktop -t $installdir/usr/share/applications | ||||
| install -Dm 00644 main/resources/images/community/${sz}x${sz}.png $installdir/usr/share/icons/hicolor/${sz}x${sz}/apps/pdfsam.png | |||||
| done | |||||
| install -Dm 00644 deb/icon.svg $installdir/usr/share/icons/hicolor/scalable/apps/pdfsam.svg | |||||
| install -Dm 00644 main/resources/images/community/splash.gif $installdir/usr/share/pdfsam/resources/splash.gif | |||||
| ## etc | |||||
| install -Dm 00644 main/etc/logback.xml $installdir/usr/share/pdfsam/etc/logback.xml | |||||
| ## desktop entry | |||||
| install -Dm 00644 $pkgfiles/pdfsam.desktop $installdir/usr/share/applications/pdfsam.desktop | |||||
| ## script | |||||
| install -Dm 00755 $pkgfiles/pdfsam.sh $installdir/usr/share/pdfsam/bin/pdfsam.sh | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.