aboutsummaryrefslogtreecommitdiffstats
path: root/community/network-manager-applet/APKBUILD
blob: a3d62863931ccf4660552a8ee8ad117060d61d62 (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
46
47
48
49
50
51
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=network-manager-applet
pkgver=1.4.6
pkgrel=0
pkgdesc="GTK network manager applet"
url="https://wiki.gnome.org/Projects/NetworkManager"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev

	gtk+3.0-dev

	jansson-dev
	libsecret-dev
	iso-codes-dev
	polkit-dev
	libgudev-dev
	libgnome-keyring-dev
	dbus-glib-dev
	libnotify-dev
	networkmanager-dev
	modemmanager-dev
	libmm-glib-dev
	"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/network-manager-applet/1.4/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-modem-manager-1 \
		|| return 1
	make || return 1
}

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

sha512sums="f0eab5c50739c2309fa19336e23ead6603dc953b62fff0600a91988df8d41c2f300c22ebd4d5be8654a3fd7bac38dacc23be149f1a7085f10bb55e1830d9472f  network-manager-applet-1.4.6.tar.xz"