pkgname=libindi pkgver=1.0.0 pkgrel=1 pkgdesc="A distributed control protocol designed to operate astronomical instrumentation" url="http://www.indilib.org/index.php?title=Main_Page" license=('GPL2') arch=('x86_64') depends=('libnova' 'cfitsio' 'boost-libs' 'libusb' 'libjpeg' 'gsl') makedepends=('cmake' 'boost') options=('staticlibs') # libindiclient builds as static only source=("http://www.indilib.org/jdownloads/Source/${pkgname}_${pkgver}.tar.gz") md5sums=('1f5b9082bc51f803014689c738d91fb0') prepare() { mkdir build } build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DUDEVRULES_INSTALL_DIR=/usr/lib/udev/rules.d make } package() { cd build make DESTDIR="${pkgdir}" install }