aboutsummaryrefslogtreecommitdiffstats
path: root/community/network-manager-applet/APKBUILD
blob: 0aa93bc0b678495fe1c9c59000bb7c3520341773 (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
51
52
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=network-manager-applet
pkgver=1.8.24
pkgrel=0
pkgdesc="GTK network manager applet"
url="https://wiki.gnome.org/Projects/NetworkManager"
arch="all !s390x" # Limited by networkmanager-dev
license="GPL-2.0-or-later"
makedepends="
	intltool
	gcr-dev
	gtk+3.0-dev
	iso-codes-dev
	jansson-dev
	libsecret-dev
	libgudev-dev
	libnotify-dev
	mobile-broadband-provider-info
	modemmanager-dev
	networkmanager-dev
	polkit-dev
	gobject-introspection-dev
	"
subpackages="$pkgname-dev $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 \
		--with-gcr \
		--enable-static=no \
		--without-selinux \
		--without-libnm-gtk \
		--enable-introspection
	make
}

check() {
	make check
}

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

sha512sums="76e914ec4f2e6eadd21ccc3e1f613fb97cb72d9551730a1dc09454177365dcaa2cdeea4b855c53732ad6a22cfa5e62e03f09fc8b04a277ce213dcf8c3beaf77c  network-manager-applet-1.8.24.tar.xz"