File PKGBUILD of Package ltrapi
pkgname=ltrapi
pkgver=1.32.37
pkgrel=1
pkgdesc="libraries for L Card LTR-Crates and LTR-Modules"
arch=('i686' 'x86_64')
url="http://lcard.ru"
license=('MIT')
groups=()
depends=()
makedepends=('cmake')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=(ltrapi_1.32.37.tar.gz)
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake -DCMAKE_BUILD_TYPE=Release -DLTRAPI_BUILD_FABRIC_MODULES=ON -DCMAKE_INSTALL_PREFIX=/usr -DLTRAPI_BUILD_DEVELOP_MODULES=ON ./
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
sha256sums=('4d3a170203697a7d44ea0a73fb1c495083a54399dd936df0bf1b3c85d7e3fef1')