blob: 6ddcde907152a2cfcb1431f75e7d10636b180725 (
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
|
# Contributor (Arch): Marti Raudsepp <marti@juffo.org>
# Maintainer: fauno <fauno@parabola.nu>
pkgname=networkmanager-openswan
_pkgname=NetworkManager-openswan
pkgver=1.0.2
pkgrel=1
pkgdesc="NetworkManager plugin for IPSec VPN tunnels"
arch=('i686' 'x86_64' 'mips64el')
url="http://ftp.acc.umu.se/pub/GNOME/sources/NetworkManager-openswan/"
license=('GPL')
depends=('openswan' 'gtk3' 'networkmanager' 'libgnome-keyring' 'libnm-gtk' 'libsecret')
makedepends=('intltool')
source=(http://ftp.acc.umu.se/pub/GNOME/sources/$_pkgname/1.0/$_pkgname-$pkgver.tar.xz)
prepare() {
cd "$srcdir/$_pkgname-$pkgver"
# sed -e "s/gnome_keyring_memory_free/gcr_secure_memory_free/g" \
# -e "s/gnome_keyring_memory_strdup/gcr_secure_memory_strdup/g" \
# -e "s/gnome_keyring_find_itemsv_sync/secret_service_search_sync/g" \
# -i auth-dialog/main.c
}
build() {
cd "$srcdir/$_pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/networkmanager
sed -e "s/-Werror//g" -i auth-dialog/Makefile
sed -e "s/-Werror//g" -i src/Makefile
make
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
sha512sums=('b1b5b7f8085c1b7ff48970416b527cf28ca617c9073115c0753e36c9f0aa45961febe82a73aa77e51feca677ef5ac3e6c8c7c6d9601b12ecb2eeea8c56899d07')
|