core/indilib/PKGBUILD

28 lines
818 B
Bash

pkgname=indilib
pkgver=1.1.0
pkgrel=3
pkgdesc="INDI is an instrument neutral distributed interface control protocol that aims to provide backend driver support and automation for a wide range of Astronomical devices (telescopes, focusers, CCDs..etc)."
url="http://indi.sourceforge.net/"
license=('GPL2')
arch=('x86_64')
depends=('zlib' 'libnova' 'libjpeg-turbo' 'gsl')
makedepends=('cmake' 'cfitsio')
source=(http://downloads.sourceforge.net/project/indi/libindi_${pkgver}.tar.gz)
md5sums=('0002e231177e382e1aacd6369044db22')
build() {
cd ${srcdir}
mkdir -p build && cd build
cmake ../libindi_${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUDEVRULES_INSTALL_DIR=/usr/lib/udev/rules.d
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}