initial PKGBUILD added
This commit is contained in:
parent
ead3953d54
commit
17596a4c7e
1 changed files with 29 additions and 0 deletions
29
misc/PKGBUILD
Normal file
29
misc/PKGBUILD
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Maintainer: Martin Brodbeck <martin at brodbeck-online dot de>
|
||||||
|
pkgname=kima2
|
||||||
|
pkgver=0.9.0
|
||||||
|
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')
|
||||||
|
depends=('glibc' 'libusb' 'qt5-base' 'sqlite3' 'xlnt' 'jsoncpp')
|
||||||
|
makedepends=('boost>=1.62')
|
||||||
|
source=($pkgname-$pkgver.tar.gz)
|
||||||
|
md5sums=('')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
if [ ! -d $pkgname/build ]; then
|
||||||
|
mkdir $pkgname/build
|
||||||
|
fi
|
||||||
|
cd $pkgname/build
|
||||||
|
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$pkgdir/usr ..
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname/build
|
||||||
|
make install
|
||||||
|
cd ..
|
||||||
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
}
|
Loading…
Reference in a new issue