blob: 99213a0b054997442dc379a39fffecc91ac85fe9 (
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: cybuzuma <cybuzuma at vnxs dot de>
# Contributor: Romain Bazile <gromain.baz@gmail.com>
pkgname=opencpn-git
pkgver=5.6.0.r1162.gef059cb76
pkgrel=1
pkgdesc="Open Source Chart Plotting / Marine Navigation - Git version"
arch=('x86_64' 'aarch64')
license=("GPL2")
depends=('wxgtk3' 'portaudio' 'tinyxml' 'libsndfile' 'libarchive' 'libexif' 'glu' 'webkit2gtk' 'wxsvg')
optdepends=('gpsd: GPS position support')
makedepends=('cmake' 'git' 'lsb-release')
conflicts=('opencpn')
provides=('opencpn')
url="http://opencpn.org"
source=("$pkgname::git+https://github.com/OpenCPN/OpenCPN.git")
sha1sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long --tags | sed -r 's/^Release.//;s/\_/\./;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd $pkgname
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DOCPN_BUILD_TEST=OFF -DOCPN_VERBOSE=OFF -DOCPN_USE_EXTERN_CURL=ON ..
make
}
package() {
cd $pkgname/build
make DESTDIR="$pkgdir" install
}
|