blob: 1b4790a3b99a2051c0724344bb3724fabd6398c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Description: Virtually print, sign and scan documents.
# URL: https://gitlab.com/edouardklein/falsisign
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: bash python3 imagemagick ghostscript
_commit=3ff24f0ceaf8bb12d07902a24f8f90c8b24fea38
name=falsisign
version=0.0.0
release=1
source=("https://gitlab.com/edouardklein/falsisign/-/archive/${_commit}/falsisign-${_commit}.tar.gz")
build() {
cd "${name}-${_commit}"
grep -qxF "${version}" 'VERSION'
sed -i '1 s@\bpython\b@\03@' *.py
convert Signature_guide.{xcf,pdf}
install -m755 -D falsisign.sh "$PKG/usr/bin/falsisign"
install -m755 -D falsicoord.py "$PKG/usr/bin/falsicoord"
install -m755 -D signdiv.sh "$PKG/usr/bin/signdiv"
install -m644 -Dt "$PKG/usr/share/doc/falsisign" Signature_guide.pdf README.org LICENSE
}
|