blob: 7871766722624dedff7822be8f49ddbf4f1bb5bc (
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
56
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=network-manager-applet
pkgver=1.0.6
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 \
--with-modem-manager-1 \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="dbdead7c5838e422d4b80565b7657a2a network-manager-applet-1.0.6.tar.xz"
sha256sums="5d4d53e0d2221d97cd214c3817a77cbeeed0e198d565101b6822ecb49ca940fa network-manager-applet-1.0.6.tar.xz"
sha512sums="4f34cbfc0158090f9b3f32f3b29a2c771cbf35b6334c9444c222a7b87f958b59bd1179f4241e82dd7ec354f6ef3067dde58d461fe38464b7593fad9f710f8a60 network-manager-applet-1.0.6.tar.xz"
|