aboutsummaryrefslogtreecommitdiffstats
path: root/community/network-manager-applet/APKBUILD
blob: 6c727de163e739cf38fe48e30975410045d1df0e (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
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=network-manager-applet
pkgver=1.8.18
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
	libgnome-keyring-dev
	libgudev-dev
	libnotify-dev
	libsecret-dev
	libsecret-dev
	mobile-broadband-provider-info
	modemmanager-dev
	networkmanager-dev
	polkit-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="4871d95f3260beb8c3207e5ec8e25437b3d01758afc3bfe7d877774b21a05f4523449ee32e4cff27c082fefef88fed01db718d2227d6896c3c9b85d09cee927b  network-manager-applet-1.8.18.tar.xz"