aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-wavelan-plugin/APKBUILD
blob: 108d74386bf89aed4eabb6b3ed20d694735686f1 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-wavelan-plugin
pkgver=0.5.5
pkgrel=1
pkgdesc="plugin to monitor wifi connectivity for the Xfce4 panel"
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin/"
license="custom"
depends=
makedepends="pkgconfig xfce4-panel-dev intltool libsm-dev"
source="http://goodies.xfce.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2
	tooltip.diff"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	patch -Np1 -i "$srcdir"/tooltip.diff || return 1
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="1fa00ad9f24cc29536cb7622016c6a5e  xfce4-wavelan-plugin-0.5.5.tar.bz2
923b1f2bf2d26cf01f784b6194f64d93  tooltip.diff"