1
0
mirror of https://github.com/cybuzuma/aur_opencpn.git synced 2025-05-28 13:30:22 -07:00

fix wx-config compile error per ruppor

This commit is contained in:
trougnouf (Benoit Brummer) 2020-10-25 10:42:02 +01:00
parent 69c4f39415
commit 9215e36531

View File

@ -8,7 +8,7 @@
pkgname=opencpn
_name="OpenCPN"
pkgver=5.2.4
pkgrel=1
pkgrel=2
pkgdesc="Open Source Chart Plotting / Marine Navigation"
arch=('x86_64' 'aarch64')
license=("GPL2")
@ -19,6 +19,13 @@ install=opencpn.install
source=("https://github.com/${_name}/${_name}/archive/Release_${pkgver}.tar.gz")
sha1sums=('157d7392e42a8ee9b6efbb6496642e575ad958fa')
prepare() {
cd "OpenCPN-Release_${pkgver}"
export PATH="$PWD/bin:$PATH"
mkdir bin
ln -s /usr/bin/wx-config-gtk3 bin/wx-config
}
build() {
cd "OpenCPN-Release_${pkgver}"
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \