diff options
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 \ |