summaryrefslogtreecommitdiff
path: root/community/kvpnc/PKGBUILD
blob: 205f3b682591e276618f2f2673207eb6f182cc71 (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
# $Id: PKGBUILD 58789 2011-11-18 14:22:42Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Danial Olsen <do@meyl.fo>

pkgname=kvpnc
pkgver=0.9.6a
pkgrel=1
pkgdesc="A KDE Desktop Environment frontend for various vpn clients"
arch=(i686 x86_64)
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')

build() {
  export LDFLAGS=-lX11

  cd $srcdir
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver}-kde4 \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  cd $srcdir/build
  make DESTDIR=$pkgdir install
}