diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-15 21:35:07 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-15 21:35:07 -0300 |
commit | 1a65caeb80e2cc8c7b39262d72255124d0c8614e (patch) | |
tree | fb2047cbeaa71fabba55e68dc8f5d4838fb5018c /community/kvpnc/PKGBUILD | |
parent | 9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (diff) | |
parent | b90f83b99150003a2022c3a4bbad90b12eb56b7e (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/kvpnc/PKGBUILD')
-rw-r--r-- | community/kvpnc/PKGBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/community/kvpnc/PKGBUILD b/community/kvpnc/PKGBUILD index 2c532795a..382994257 100644 --- a/community/kvpnc/PKGBUILD +++ b/community/kvpnc/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 65616 2012-02-21 09:46:17Z spupykin $ +# $Id: PKGBUILD 89963 2013-05-06 10:41:26Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Danial Olsen <do@meyl.fo> pkgname=kvpnc pkgver=0.9.6a -pkgrel=2 +pkgrel=3 pkgdesc="A KDE Desktop Environment frontend for various vpn clients" arch=(i686 x86_64 'mips64el') url="http://home.gna.org/kvpnc/" license=("GPL") depends=('kdelibs' 'hicolor-icon-theme') -makedepends=('cmake' 'automoc4') +makedepends=('cmake' 'automoc4' 'optipng') install=kvpnc.install source=(http://download.gna.org/$pkgname/$pkgname-${pkgver}-kde4.tar.bz2 kvpnc-0.9.6a-scriptsec.patch @@ -20,17 +20,17 @@ md5sums=('bf8b7224284f5d3f8ad5235c599fe9e7' '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 + sed -i '1,1i#include <unistd.h>' ${pkgname}-${pkgver}-kde4/src/kvpnc.cpp + + export LDFLAGS=-lX11 mkdir build cd build cmake ../${pkgname}-${pkgver}-kde4 \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make + find -name '*.png' -exec optipng -quiet -force -fix {} \; } package() { |