generated from Ash258/GenericBucket
-
Notifications
You must be signed in to change notification settings - Fork 2
/
briss.json
36 lines (36 loc) · 1.37 KB
/
briss.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"homepage": "https://sourceforge.net/projects/briss",
"version": "0.9",
"license": "GPL-2.0-only",
"description": "A simple cross-platform application for cropping PDF files",
"url": "https://downloads.sourceforge.net/project/briss/release%200.9/briss-0.9.zip",
"hash": "32c0e73b90efcbe0d7264410f822bc8721354ab5d49b7c159ba067531852a9b0",
"extract_dir": "briss-0.9",
"bin": "briss.bat",
"shortcuts": [
[
"briss.bat",
"briss"
]
],
"pre_install": [
"Write-Output \"java -jar `\"$($dir.Path)\\briss.jar`\"\" | Out-File -encoding ASCII $dir\\briss.bat",
"if (!(Test-Path \"$dir\\briss.jar\")) { ",
" Get-ChildItem \"$dir\" \"briss*.jar\" | ",
" Where-Object { $_.Name -Match 'briss.+\\.jar' } | ",
" ForEach-Object { ",
" warn \"Moving $($_.Name) to briss.jar\" ",
" Move-Item -Force \"$dir\\$($_.Name)\" \"$dir\\briss.jar\" ",
" } ",
"}"
],
"checkver": {
"url": "https://sourceforge.net/projects/briss/best_release.json",
"jsonpath": "$.release.filename",
"regex": "/release ([\\d\\.]+)/briss-[\\d\\.]+\\.zip"
},
"autoupdate": {
"extract_dir": "briss-$version",
"url": "https://downloads.sourceforge.net/project/briss/release%20$version/briss-$version.zip"
}
}