aboutsummaryrefslogtreecommitdiffstats
path: root/community/network-manager-applet/APKBUILD
blob: 4820e5fe0e6625b40cd4ea537514116a7269d8bb (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=network-manager-applet
pkgver=1.18.0
pkgrel=0
pkgdesc="GTK network manager applet"
url="https://wiki.gnome.org/Projects/NetworkManager"
arch="all !mips !mips64 !s390x" # Limited by networkmanager-dev and polkit
license="GPL-2.0-or-later"
depends="dbus:org.freedesktop.Secrets"
makedepends="
	intltool
	gcr-dev
	gtk+3.0-dev
	jansson-dev
	libsecret-dev
	libgudev-dev
	libnotify-dev
	modemmanager-dev
	networkmanager-dev
	polkit-dev
	libnma-dev
	libappindicator-dev
	libdbusmenu-gtk3-dev
	"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/network-manager-applet/${pkgver%.*}/network-manager-applet-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--without-selinux \
		--enable-introspection
	make
}

check() {
	make check
}

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

sha512sums="adca7c723600ec1cb2eed0110e369cf707fde1d64a81489440a167516d178a501fe883c08db06371b8aac896188eb2037a7577ecca721d764be33f4025a386d4  network-manager-applet-1.18.0.tar.xz"