install prefix fixed

This commit is contained in:
Martin Brodbeck 2019-04-12 12:48:33 +02:00
parent 8e3ad5dc53
commit 7a2e8c6fc3

View file

@ -1,6 +1,6 @@
# Maintainer: Martin Brodbeck <martin at brodbeck-online dot de>
pkgname=kima2
pkgver=0.13.0
pkgver=1.1.0
pkgrel=1
pkgdesc="A small cash point program for children's things markets (German only)"
arch=('i686' 'x86_64')
@ -17,13 +17,13 @@ build() {
fi
cd $pkgname/build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$pkgdir/usr -DKIMA2_USE_EXTERNAL_JSON=ON ..
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DKIMA2_USE_EXTERNAL_JSON=ON ..
make
}
package() {
cd $pkgname/build
make install
make DESTDIR="$pkgdir" install
cd ..
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}