blob: ffe04f9457f8a1e7d6fb8611d45c5e062e38df87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Sebastian Baberowski <sebastian@baberowski.com>
pkgname=libindi-eqmod
pkgver=1.7.8
pkgrel=1
pkgdesc="3rd party drivers for INDI: EQMod"
url="http://www.indilib.org/index.php?title=Main_Page"
license=(GPL3)
arch=(i686 x86_64)
depends=(libindi gpsd)
makedepends=(cmake)
source=("https://github.com/indilib/indi/archive/v${pkgver}.tar.gz")
sha256sums=('55959bfa271048840782ee61a7c33d769790b7b3e333143de9c8bd60e6e8c5e2')
prepare() {
mkdir -p build
cd indi-${pkgver}/3rdparty
#set all to off by default
sed -i -e '/option(WITH_.*On/s/ On/ Off/' CMakeLists.txt
}
build() {
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DUDEVRULES_INSTALL_DIR=/usr/lib/udev/rules.d \
-DWITH_EQMOD=On \
../indi-${pkgver}/3rdparty
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|