summaryrefslogtreecommitdiffstats
path: root/main/remmina-plugins/APKBUILD
blob: 46478d49b0b2bf970a9b2c5c1a2c5bc56b5a636d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=remmina-plugins
pkgver=0.9.0
pkgrel=0
pkgdesc="Remmina plugins"
url="http://sourceforge.net/projects/remmina/"
arch="x86 x86_64"
license="GPL"
depends=""
makedepends="perl remmina-dev freerdp-dev libxkbfile-dev gtk+-dev libssh-dev
	jpeg-dev gnutls-dev"
install=
source="http://downloads.sourceforge.net/project/remmina/${pkgver%.*}/remmina-plugins-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build () 
{ 
	cd $srcdir/$pkgname-$pkgver
	./configure --prefix=/usr \
		--enable-ssh \
		--enable-rdp \
		--enable-vnc \
		--enable-xdmcp \
		--enable-nx \
		--disable-telepathy \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	# remove *.a and *.la
	rm "$pkgdir"/usr/lib/remmina/plugins/*.*a
}

md5sums="96f63d2636fcf3bc845e5d92d4a46f05  remmina-plugins-0.9.0.tar.gz"