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

20 lines
789 B
Bash

# Maintainer: Sintan Santorum <c1scu0hh at anonaddy dot me>
pkgname="sejda-console"
pkgver=3.2.85
pkgrel=7
pkgdesc="Shell interface for performing pdf manipulations"
arch=('x86_64')
url="https://www.sejda.org"
license=('AGPL3')
depends=('jre-openjdk-headless>=1.8')
provides=('sejda-console')
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/
}