summaryrefslogtreecommitdiff
path: root/community/kvpnc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kvpnc/PKGBUILD')
-rw-r--r--community/kvpnc/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/community/kvpnc/PKGBUILD b/community/kvpnc/PKGBUILD
index 3566fd889..2c532795a 100644
--- a/community/kvpnc/PKGBUILD
+++ b/community/kvpnc/PKGBUILD
@@ -6,18 +6,24 @@ pkgname=kvpnc
pkgver=0.9.6a
pkgrel=2
pkgdesc="A KDE Desktop Environment frontend for various vpn clients"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://home.gna.org/kvpnc/"
license=("GPL")
depends=('kdelibs' 'hicolor-icon-theme')
makedepends=('cmake' 'automoc4')
install=kvpnc.install
-source=(http://download.gna.org/$pkgname/$pkgname-${pkgver}-kde4.tar.bz2)
-md5sums=('bf8b7224284f5d3f8ad5235c599fe9e7')
+source=(http://download.gna.org/$pkgname/$pkgname-${pkgver}-kde4.tar.bz2
+ kvpnc-0.9.6a-scriptsec.patch
+ kvpnc-0.9.6a-gcc47.patch)
+md5sums=('bf8b7224284f5d3f8ad5235c599fe9e7'
+ 'a0ee8caabf56732b8481a426e02f881b'
+ '9725f5a005dca1e3d1cba86a8e52360a')
build() {
export LDFLAGS=-lX11
-
+ cd $srcdir/$pkgname-$pkgver-kde4
+ patch -Np1 -i ${srcdir}/kvpnc-0.9.6a-scriptsec.patch
+ patch -Np1 -i ${srcdir}/kvpnc-0.9.6a-gcc47.patch
cd $srcdir
mkdir build
cd build