summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBrian Bidulock2020-02-19 02:17:00 -0700
committerBrian Bidulock2020-02-19 02:17:00 -0700
commit199b8c5c06c71bbc9790ffd9d4e36e8636659f1c (patch)
tree8be4f73c6ada1364a8a31f68007651081b1ee225 /PKGBUILD
parent3adea5d18abd4b4ed3a909a07b5a0afcc46f7b85 (diff)
downloadaur-199b8c5c06c71bbc9790ffd9d4e36e8636659f1c.tar.gz
uppkg
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 66bcc4bb3b6..6c964bab1e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=kronosnet
-pkgver=1.11
+pkgver=1.14
pkgrel=1
pkgdesc="VPNs on steroids"
arch=('i686' 'x86_64')
@@ -10,7 +10,7 @@ license=('GPL2')
makedepends=('lksctp-tools' 'doxygen' 'libqb')
depends=('nss' 'lzo' 'zstd')
source=("https://kronosnet.org/releases/$pkgname-$pkgver.tar.xz")
-md5sums=('d5d2aea4c0496af8645773fbc724bb6a')
+md5sums=('33a7598f046220f2718c2205d9510022')
prepare() {
cd ${pkgname}-${pkgver}
@@ -26,6 +26,8 @@ build() {
--sbindir=/usr/bin \
--enable-publicandocs \
--with-systemddir=/usr/lib/systemd/system
+ # Fight unused direct deps
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
make V=0
}