mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-26 06:48:35 -06:00
Add sejda-console
This commit is contained in:
parent
a263b974af
commit
a9c50c1e4d
1 changed files with 29 additions and 0 deletions
29
sejda-console/lure.sh
Normal file
29
sejda-console/lure.sh
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name='sejda-console'
|
||||||
|
version=3.2.85
|
||||||
|
release=1
|
||||||
|
desc='Shell interface for performing pdf manipulations'
|
||||||
|
homepage='https://www.sejda.org'
|
||||||
|
architectures=('amd64')
|
||||||
|
maintainer='SinTan1729'
|
||||||
|
license=('AGPL3')
|
||||||
|
provides=()
|
||||||
|
conflicts=()
|
||||||
|
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
|
||||||
|
echo Creating the package
|
||||||
|
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
|
||||||
|
mkdir -p ${pkgdir}/usr/local/bin
|
||||||
|
ln -s /opt/${name}/bin/${name} ${pkgdir}/usr/local/bin/
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue