File PKGBUILD of Package ltrctl

pkgname=ltrctl
pkgver=1.0.1
pkgrel=1
pkgdesc="Command line frontend for ltrd daemon"
arch=('i686' 'x86_64')
url="http://lcard.ru"
license=('GPL')
groups=()
depends=('ltrapi')
makedepends=('cmake' 'ltrapi>=1.31.1')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=(ltrctl_1.0.1.tar.gz)



build() {
  cd "$srcdir/$pkgname-$pkgver"
  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ./
  make
  }
  
package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
  }
  
  
md5sums=('5fdc9affae02dc4f55165b4ea80b42e7')