aboutsummaryrefslogtreecommitdiffstats
path: root/testing/network-manager-applet/APKBUILD
blob: 8a906f21d300b15b72b4bd98edb8a4c4d29a78b9 (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
52
53
54
55
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=network-manager-applet
pkgver=1.0.10
pkgrel=0
pkgdesc="gtk applet for network manager"
url="http://projects.gnome.org/NetworkManager"
arch="all"
license="GPL"
depends=
depends_dev=
makedepends="$depends_dev
	networkmanager-dev
	libgnome-keyring-dev
	libnotify-dev
	libsecret-dev
	iso-codes-dev
	"
install=
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver::3}/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir"/network-manager-applet-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-introspection \
		--with-bluetooth \
		|| return 1
	make || return 1
}

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

md5sums="86b17e1bf1a37c649874883b587c6db6  network-manager-applet-1.0.10.tar.xz"
sha256sums="b045ac3eaa68ccbbefe91510ad67b4002a7e09d1e5ce1c4bf9a67619bd2cf0eb  network-manager-applet-1.0.10.tar.xz"
sha512sums="dc13881243e5232d0c45563442f906a93c4d196a69c52c45d335f755bbc73c4d3131ba59180a102f65ca2066d40127b9db8cf85da2b41ec18efda482a9d210aa  network-manager-applet-1.0.10.tar.xz"