summaryrefslogtreecommitdiff
path: root/user/xfce4-netload-plugin/APKBUILD
blob: 2b72c4f2c3706813ceca814756654ef7319a6ffb (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
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=xfce4-netload-plugin
pkgver=1.3.1
pkgrel=1
pkgdesc="Network monitor plugin for the XFCE panel"
url="https://xfce.org"
arch="all"
license="GPL-2.0+"
makedepends="intltool libxfce4ui-dev xfce4-panel-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-netload-plugin/1.3/xfce4-netload-plugin-$pkgver.tar.bz2
	no-sysctl.patch"

build() {
	LIBS="-lintl" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="34144bf2d95f71276f8b5f4cf417d97d380233805c6fec1b7c559fee5b11468a421d3691230e01d89b40289d5ab22a472dcbef2a7ee0854abd7213e0ef0a3ef9  xfce4-netload-plugin-1.3.1.tar.bz2
ca7f5cb8282de4b46a7906570becbab6caa9670d91413945b92d849a5f1127befaf6274031637cde23731f4d78b9145d5973a1406d5c49ba4a0f7fe21ad2a6fd  no-sysctl.patch"