upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / libindi / trunk / PKGBUILD
blob9ab3426c0b779fbce7f0bc1bea85c44bfc223825
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
5 pkgname=libindi
6 pkgver=2.0.1
7 pkgrel=2
8 pkgdesc='A distributed control protocol designed to operate astronomical instrumentation'
9 url='https://www.indilib.org/index.php?title=Main_Page'
10 license=(GPL2)
11 arch=(x86_64)
12 depends=(libnova cfitsio libjpeg gsl libtheora fftw libev rtl-sdr)
13 makedepends=(cmake qt5-base)
14 source=(https://github.com/indilib/indi/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
15 sha256sums=('fa426803c72506b352e95d5406fe1ffcec4ffc86a94d14748eedf90fb10d1788')
17 build() {
18   cmake -B build -S indi-$pkgver \
19     -DCMAKE_INSTALL_PREFIX=/usr \
20     -DINDI_BUILD_QT5_CLIENT=ON \
21     -DUDEVRULES_INSTALL_DIR=/usr/lib/udev/rules.d \
22     -DCMAKE_C_FLAGS="$CFLAGS -ffat-lto-objects" \
23     -DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects -Wp,-U_GLIBCXX_ASSERTIONS"
24   cmake --build build
27 package() {
28   DESTDIR="$pkgdir" cmake --install build