kima2/misc/PKGBUILD

30 lines
780 B
Text
Raw Normal View History

2018-08-07 16:33:19 +02:00
# Maintainer: Martin Brodbeck <martin at brodbeck-online dot de>
pkgname=kima2
2019-10-17 16:03:12 +02:00
pkgver=1.5.0
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')
url="http://www.rustysoft.de/?01_kima2"
license=('custom')
2018-10-18 14:23:38 +02:00
depends=('glibc' 'libusb' 'qt5-base' 'sqlite3' 'xlnt')
2018-08-07 16:33:19 +02:00
makedepends=('boost>=1.62')
source=($pkgname-$pkgver.tar.gz)
2019-10-17 16:03:12 +02:00
md5sums=('c0e6a64b5037675edce4ba8bc4639bd3')
2018-08-07 16:33:19 +02:00
build() {
if [ ! -d $pkgname/build ]; then
mkdir $pkgname/build
fi
cd $pkgname/build
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() {
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"
}