aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/network-manager-applet/APKBUILD
blob: 22cbfd4221f8b779f3ea026a2e85de208911c5be (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=network-manager-applet
pkgver=0.9.8.8
pkgrel=0
pkgdesc="gtk applet for network manager"
url="http://projects.gnome.org/NetworkManager"
arch="all"
license="GPL"
depends=
depends_dev="networkmanager-dev gconf-dev libgnome-keyring-dev libnotify-dev libsecret-dev"
makedepends="$depends_dev iso-codes"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/network-manager-applet/${pkgver%.*.*}/network-manager-applet-$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 \
		|| return 1
	make || return 1
}

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

md5sums="cceb4530e438926b66dfa5e9db17f20a  network-manager-applet-0.9.8.8.tar.xz"
sha256sums="581ebf9ead919e33d7e910322c2f64919f98716d8636f1a640b72c9b2e3ba9eb  network-manager-applet-0.9.8.8.tar.xz"
sha512sums="a43cb00ac60b9401a035aac22a3384625624ca7e3b852106c55c1dc79a6a409d68f482615df6420778cafee0eb38e0088768198de78af52358db48ce9b7222f7  network-manager-applet-0.9.8.8.tar.xz"