blob: c3c2d79186a194438164aca683630cb8b2e12c58 (
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
38
|
# Maintainer: Sebastian Baberowski <sebastian@baberowski.com>
pkgname=libindi-ticfocuser-git
pkgver=r74.9929333
pkgrel=1
pkgdesc="3rd party drivers for INDI: TicFocuser-ng bleeding edge."
url="https://github.com/sebo-b/TicFocuser-ng"
license=(GPL3)
arch=(i686 x86_64)
depends=()
makedepends=(cmake)
provides=("libindi-ticfocuser")
conflicts=("libindi-ticfocuser")
source=("git+https://github.com/sebo-b/TicFocuser-ng.git")
sha256sums=("SKIP")
pkgver() {
cd TicFocuser-ng
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
../TicFocuser-ng
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|