aboutsummaryrefslogtreecommitdiffstats
path: root/community/vino/APKBUILD
blob: f24916610e7f59431e0d60e25213d14f8fa658e3 (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=vino
pkgver=3.22.0
pkgrel=0
pkgdesc="The GNOME desktop sharing server"
url="https://wiki.gnome.org/Projects/Vino"
arch="all"
license="GPLv2"
makedepends="$depends_dev libsoup-dev glib-dev gtk+3.0-dev libnotify-dev
	libsm-dev bsd-compat-headers"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/vino/${pkgver%.*}/$pkgname-$pkgver.tar.xz
	$pkgname.initd"

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

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
                --host=$CHOST \
		--localstatedir=/var \
		--without-gnutls \
		--without-gcrypt \
		--prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="${pkgdir}" DATADIRNAME=share install
 	install -m755 -D "$srcdir"/$pkgname.initd \
                "$pkgdir"/etc/init.d/$pkgname
}

sha512sums="29b88e151b0b8c69bce1565ae3ec2e788f48c7645429984329fb2d3daaf03cc5ac100abbf70247bf0516c6d03a3b9aeb78d018c8f1bf35fd241919117fd1105f  vino-3.22.0.tar.xz
ae311ed85e5edc04f9e6f6797dd36434f31ecd75c4d6e589043936ca39f462ebfebc73a76cf5c2f1cf9dd6fb331912315fdc28b516b8d30efda9c9def5527abc  vino.initd"