2022-11-22 01:44:08 -06:00
|
|
|
name='sejda-console'
|
|
|
|
version=3.2.85
|
2023-07-30 13:40:59 -05:00
|
|
|
release=3
|
2022-11-22 01:44:08 -06:00
|
|
|
desc='Shell interface for performing pdf manipulations'
|
|
|
|
homepage='https://www.sejda.org'
|
2022-11-22 01:47:36 -06:00
|
|
|
architectures=('all')
|
2022-11-22 01:44:08 -06:00
|
|
|
maintainer='SinTan1729'
|
|
|
|
license=('AGPL3')
|
2022-12-08 22:26:02 -06:00
|
|
|
provides=('sejda-console')
|
2022-11-22 01:44:08 -06:00
|
|
|
deps=('jre-openjdk-headless>=1.8')
|
|
|
|
deps_opensuse=('java-17-openjdk-headless')
|
|
|
|
git_repo='torakiki/sejda'
|
|
|
|
|
|
|
|
sources=("https://github.com/${git_repo}/releases/download/v${version}/${name}-${version}-bin.zip?~archive=false")
|
|
|
|
checksums=('a2380aff1904103317a92b61a2008e2018184de0a7ed58e2516bd1b3818a48bf')
|
|
|
|
|
|
|
|
package() {
|
|
|
|
# Build package
|
2022-11-22 17:37:15 -06:00
|
|
|
echo "Creating the package"
|
2022-11-22 01:44:08 -06:00
|
|
|
unzip -qq ${name}-${version}-bin.zip
|
|
|
|
# Binary
|
|
|
|
mkdir -p ${pkgdir}/opt
|
|
|
|
cp -r ${name}-${version} ${pkgdir}/opt/sejda-console/
|
|
|
|
rm ${pkgdir}/opt/${name}/bin/${name}.bat
|
2023-07-30 13:40:59 -05:00
|
|
|
mkdir -p ${pkgdir}/usr/bin
|
|
|
|
ln -s /opt/${name}/bin/${name} ${pkgdir}/usr/bin/
|
2022-11-22 01:44:08 -06:00
|
|
|
}
|
2023-07-30 13:40:59 -05:00
|
|
|
|