summaryrefslogtreecommitdiff
path: root/manualPorts/falsisign/Pkgfile
blob: 61698087cbf9e89326401f3232afd8484f2ec811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Virtually print, sign and scan documents.
# URL: https://gitlab.com/edouardklein/falsisign
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: bash python 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
  make test
  install -m755 -Dt "$PKG/usr/bin" falsisign.sh falsicoord.py signdiv.sh
  install -m644 -Dt "$PKG/usr/share/doc/falsisign" falsiscan.png Signature_* README.org LICENSE

}