aboutsummaryrefslogtreecommitdiffstats
path: root/main/remmina/APKBUILD
blob: 6c136ad90e3509565c202d7f06341e02841a6821 (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
39
40
41
42
43
44
45
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=remmina
pkgver=1.0.0
pkgrel=1
pkgdesc="Remmina is a remote desktop client written in GTK+"
url="http://remmina.sourceforge.net/"
arch="all"
license="GPL"
depends=
makedepends="gtk+-dev intltool zlib-dev jpeg-dev gnutls-dev vte-dev
	libgcrypt-dev libssh-dev libxkbfile-dev freerdp-dev avahi-dev
	wget cmake"
install=
replaces="remmina-plugins"
subpackages="$pkgname-dev $pkgname-lang"
source="https://github.com/downloads/FreeRDP/Remmina/Remmina-$pkgver.tar.gz
	underlinking.patch
	no-gnome-keyring.patch"

prepare() {
	cd "$srcdir"/FreeRDP-Remmina-*
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$srcdir"/FreeRDP-Remmina-*
	cmake -DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DWITH_TELEPATHY=OFF \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/FreeRDP-Remmina-*
	make DESTDIR="$pkgdir" install
}

md5sums="701c540acaab961bc3adf130a2ddb8b1  Remmina-1.0.0.tar.gz
c5874505afdcbc984beda485eed23b47  underlinking.patch
178d55f7aa59d6dc73b19e03201ad1e4  no-gnome-keyring.patch"