aboutsummaryrefslogtreecommitdiffstats
path: root/community/network-manager-applet/APKBUILD
blob: 129a9ee0475a24adbd7ae3f46a8f53f9a41460b6 (plain) (blame)
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
46
47
48
49
50
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=network-manager-applet
pkgver=1.8.6
pkgrel=0
pkgdesc="GTK network manager applet"
url="https://wiki.gnome.org/Projects/NetworkManager"
arch="all"
license="GPL"
depends="libgnome-keyring"
depends_dev=""
makedepends="$depends_dev
	gcr-dev
	gtk+3.0-dev
	iso-codes-dev
	jansson-dev
	libgudev-dev
	libnotify-dev
	libsecret-dev
	libsecret-dev
	modemmanager-dev
	networkmanager-dev
	polkit-dev
	libgnome-keyring-dev
	"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/network-manager-applet/${pkgver%.*}/network-manager-applet-$pkgver.tar.xz
	"
builddir="$srcdir/network-manager-applet-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-gcr \
		--enable-static=no \
		--without-selinux
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="9080fe1ef252837f16c698fe2083ebe66949e2a30f626619ef7eb82f44e988a0b8488f4f8cd0946a78a240f9bf7a5d054afc988b25c1bedeba7f79a7c84d46fa  network-manager-applet-1.8.6.tar.xz"