summaryrefslogtreecommitdiffstats
path: root/main/remmina-xfce/APKBUILD
blob: 1a25a2456ef1345f8f332b04e83fb383f5e13b80 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=remmina-xfce
pkgver=0.8.1
pkgrel=5
pkgdesc="Remmina XFCE panel applet"
url="http://sourceforge.net/projects/remmina/"
arch="all"
license="GPL"
depends="remmina"
makedepends="remmina-dev libxfce4util-dev xfce4-panel-dev"
install=
subpackages="$pkgname-lang"
source="http://downloads.sourceforge.net/project/remmina/${pkgver%.*}/remmina-xfce-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

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

md5sums="7b95ed26f6518d26166904ef63d1b936  remmina-xfce-0.8.1.tar.gz"