Skip to content

Commit

Permalink
Add pdfjumbler
Browse files Browse the repository at this point in the history
  • Loading branch information
santilococo committed Feb 12, 2024
1 parent c1ff35c commit af34236
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
'cslock-git|N', 'cdmenu-git|N', 'pvs-studio|N', 'knock-git|N', 'hakrawler-git|Y', 'bashmount|Y',
'bashmount-git|Y', 'firefox-sync|Y', 'pdd-git|Y', 'onivim2-nightly-bin|Y', 'python-isr-git|Y',
'repostat-git|Y', 'python-upnpclient|Y', 'imgur.sh|Y', 'vidmerger-bin|Y', 'vidmerger-git|Y',
'paisa-git|Y', 'paisa-bin|Y']
'paisa-git|Y', 'paisa-bin|Y', 'pdfjumbler|Y']
steps:
- name: Set env variables
run: |
Expand Down
22 changes: 22 additions & 0 deletions pdfjumbler/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Maintainer: Santiago Lo Coco <mail at slococo dot com dot ar>

pkgname="paisa"
pkgver=0.4.0
pkgrel=2
pkgdesc="A simple tool to rearrange/merge/delete/rotate pages from PDF files."
arch=('any')
url="https://github.com/mgropp/pdfjumbler"
license=('GPL3')
depends=('java-runtime>=11')
source=("${pkgname}-${pkgver}.jar::${url}/releases/download/v${pkgver}/${pkgname}.jar"
"https://raw.githubusercontent.com/mgropp/pdfjumbler/master/LICENSE"
"${pkgname}.sh")
sha256sums=('551b29996f6e4e4aeedf8b9cf18ef42dcdd467948b7e6a72cd5711a619efd18d'
'3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986'
'fc703e692a41163f92247a45564519e1b27685ff7928bbdd9ebd4264f2698615')

package() {
install -Dm755 "${pkgname}-${pkgver}.jar" "$pkgdir/usr/share/java/${pkgname}/${pkgname}.jar"
install -Dm755 "${pkgname}.sh" "$pkgdir/usr/bin/${pkgname}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${{pkgname}}"
}
3 changes: 3 additions & 0 deletions pdfjumbler/pdfjumbler.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec /usr/bin/java -jar /usr/share/java/pdfjumbler/pdfjumbler.jar "$@"

0 comments on commit af34236

Please sign in to comment.