APKBUILD 1.21 KB
Newer Older
1
2
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
3
pkgname=network-manager-applet
4
pkgver=1.20.0
5
pkgrel=0
6
7
pkgdesc="GTK network manager applet"
url="https://wiki.gnome.org/Projects/NetworkManager"
8
9
# mips64, s390x and riscv64 blocked by networkmanager and polkit
arch="all !mips64 !s390x !riscv64"
10
license="GPL-2.0-or-later"
11
depends="dbus:org.freedesktop.Secrets"
12
13
makedepends="
	intltool
14
	gcr-dev
15
	gtk+3.0-dev
16
	jansson-dev
17
	libsecret-dev
18
19
20
	libgudev-dev
	libnotify-dev
	modemmanager-dev
21
22
	networkmanager-dev
	polkit-dev
23
	libnma-dev
24
25
	libappindicator-dev
	libdbusmenu-gtk3-dev
26
	"
27
subpackages="$pkgname-doc $pkgname-lang"
28
source="https://download.gnome.org/sources/network-manager-applet/${pkgver%.*}/network-manager-applet-$pkgver.tar.xz"
29
30
31
32
33
34
35
36
37

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

43
44
45
46
check() {
	make check
}

47
package() {
48
	make DESTDIR="$pkgdir" install
49
50
}

51
sha512sums="3b7ffd61e4f810fedee5aaf64725fcc2a8ee3c6b776f2d0b93f337c207516392b4720acea35c56c80755842c600edb971a67813c1583c112a91496d3d8db2c67  network-manager-applet-1.20.0.tar.xz"