summaryrefslogtreecommitdiff
path: root/community/remmina/PKGBUILD
blob: 8c01c6e1a9ebf579fa65413c5b3c4d500b3f031e (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
# $Id: PKGBUILD 66273 2012-02-23 07:08:35Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=remmina
pkgver=1.0.0
pkgrel=3
pkgdesc="Remmina is a remote desktop client written in GTK+. "
arch=(i686 x86_64)
url="http://remmina.sourceforge.net/"
license=('GPL')
depends=('gtk2' 'zlib' 'libjpeg' 'libssh' 'libunique' 'avahi' 'vte3' 'libgcrypt' 'libxdmcp' 'libgnome-keyring')
makedepends=('intltool' 'pkgconfig' 'cmake'
	     'avahi' 'libxkbfile' 'freerdp' 'telepathy-glib')
optdepends=('avahi' 'libxkbfile' 'freerdp' 'telepathy-glib')
replaces=('remmina-plugins')
provides=("grdc" "grdc=$pkgver" 'remmina-plugins')
conflicts=("grdc")
install=remmina.install
source=(https://github.com/downloads/FreeRDP/Remmina/Remmina-$pkgver.tar.gz
		'https://github.com/FreeRDP/Remmina/commit/569d9bb702d06c061dfbbf3c590d57ea83a04369.diff'
		'https://github.com/FreeRDP/Remmina/commit/f7d1038ba358a295fb46c681db5c47e4ead97306.diff')
md5sums=('701c540acaab961bc3adf130a2ddb8b1'
         'a979c898d5e53446cec9d01912ad9243'
         'b2a9c0e80ac7b0c8a26935bbe289aa3b')

build() {
  cd ${srcdir}/FreeRDP-Remmina-*/
  patch -p1 -i "${srcdir}/569d9bb702d06c061dfbbf3c590d57ea83a04369.diff"
  patch -p1 -i "${srcdir}/f7d1038ba358a295fb46c681db5c47e4ead97306.diff"
  export LDFLAGS="-lX11 -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread"
  cmake -DWITH_APPINDICATOR=OFF -DCMAKE_INSTALL_PREFIX=/usr .
  make
  make DESTDIR=${pkgdir} install
}