2018-08-07 16:33:19 +02:00
|
|
|
# Maintainer: Martin Brodbeck <martin at brodbeck-online dot de>
|
|
|
|
pkgname=kima2
|
2022-09-27 09:01:27 +02:00
|
|
|
pkgver=1.6.1
|
2018-08-07 16:33:19 +02:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A small cash point program for children's things markets (German only)"
|
|
|
|
arch=('i686' 'x86_64')
|
2022-09-26 13:48:48 +02:00
|
|
|
url="http://www.rustysoft.de/software/kima2"
|
2018-08-07 16:33:19 +02:00
|
|
|
license=('custom')
|
2022-09-26 13:48:48 +02:00
|
|
|
depends=('glibc' 'libusb' 'qt6-base' 'sqlite3' 'xlnt')
|
2018-08-07 16:33:19 +02:00
|
|
|
makedepends=('boost>=1.62')
|
2022-09-27 09:01:27 +02:00
|
|
|
source=(git+https://git.rustysoft.de/martin/kima2)
|
2022-09-26 13:48:48 +02:00
|
|
|
sha256sums=('SKIP')
|
2018-08-07 16:33:19 +02:00
|
|
|
|
|
|
|
build() {
|
2022-09-27 09:01:27 +02:00
|
|
|
cd $pkgname
|
2022-09-26 13:48:48 +02:00
|
|
|
|
2022-09-27 09:01:27 +02:00
|
|
|
git checkout v$pkgver
|
2022-09-26 13:48:48 +02:00
|
|
|
git submodule init
|
|
|
|
git submodule update
|
|
|
|
|
|
|
|
if [ -d build ]; then
|
|
|
|
rm -rf build
|
2018-08-07 16:33:19 +02:00
|
|
|
fi
|
2022-09-26 13:48:48 +02:00
|
|
|
mkdir build && cd build
|
2018-08-07 16:33:19 +02:00
|
|
|
|
2019-10-17 16:03:12 +02:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DKIMA2_USE_EXTERNAL_JSON=OFF ..
|
2018-08-07 16:33:19 +02:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-09-27 09:01:27 +02:00
|
|
|
cd $pkgname/build
|
2019-04-12 12:48:33 +02:00
|
|
|
make DESTDIR="$pkgdir" install
|
2018-08-07 16:33:19 +02:00
|
|
|
cd ..
|
|
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
|
|
}
|