1
0
Fork 0
mirror of https://github.com/SinTan1729/aur-packages.git synced 2024-12-27 00:18:37 -06:00
aur-packages/sejda-console/PKGBUILD

20 lines
754 B
Text
Raw Normal View History

2022-11-20 19:33:11 -06:00
# Maintainer: Sintan Santorum <c1scu0hh at anonaddy dot me>
pkgname="sejda-console"
pkgver=3.2.85
pkgrel=6
pkgdesc="Shell interface for performing pdf manipulations"
arch=('x86_64')
url="www.sejda.org"
license=('AGPL3')
depends=('jre-openjdk-headless>=1.8')
source=("$pkgname-$pkgver.zip::https://github.com/torakiki/sejda/releases/download/v$pkgver/$pkgname-$pkgver-bin.zip")
b2sums=('fea4d2b75c2b4804d0e1b96b88608c60e2d83b34ef0a58361fd732c42f85939b8f459565244b197c2fd4d507ca973e32488069a4918294a13e633b06f367b7dd')
package() {
mkdir $pkgdir/opt
cp -r $pkgname-$pkgver $pkgdir/opt/sejda-console/
rm $pkgdir/opt/sejda-console/bin/sejda-console.bat
mkdir -p $pkgdir/usr/local/bin
ln -s /opt/sejda-console/bin/sejda-console $pkgdir/usr/local/bin/
}