Files
s7/Resources/PKGBUILD
Saleem Edah-Tally a2045aa1f6 Add a 'Stamp' widget.
Place one or multiple stamps on scanned pages in defined locations.

A stamp is understood here as
 - a transparent text in a transparent frame with no borders
 - an opaque text on an opaque background with no borders.

Stamp parameters:
 - text
 - font
 - foreground colour
 - background colour
 - angle of rotation
 - transparency.

Locations:
 - centre
 - cardinal directions
 - inter-cardinal directions.
2025-07-09 21:12:02 +02:00

32 lines
776 B
Bash

#Simple PKGBUILD that suits my need.
pkgname=(s7)
pkgver=2
pkgrel=0
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url='http://github.com/nmset/s7/'
# Add 'wxwidgets-gtk3' below.
depends=('libinsane' 'podofo' 'libpaper')
license=('CeCILL' 'CeCILL-C')
OPTIONS=(strip)
build() {
cd ${startdir}
[ ! -d build ] && mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=${pkgdir}/usr/local ../../
make -j8
cd ${startdir}/../Resources/Lokalize
./2_makemo.sh
cd -
}
package() {
cd ${startdir}/build
make install
cd -
mkdir -p ${pkgdir}/usr/local/share/locale/fr/LC_MESSAGES
cp ${startdir}/../Resources/Lokalize/fr/S7.mo ${pkgdir}/usr/local/share/locale/fr/LC_MESSAGES
rm -fr ${startdir}/build
}