summaryrefslogtreecommitdiff
path: root/user/xload/APKBUILD
blob: 71414484b90d044023fb8dc3b30e63327ac13e3c (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xload
pkgver=1.1.3
pkgrel=0
pkgdesc="Load average monitor for X11"
url="https://www.X.Org/"
arch="all"
license="X11 AND MIT"
depends=""
makedepends="libx11-dev libxaw-dev libxmu-dev libxt-dev util-macros
	xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xload-$pkgver.tar.bz2"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="8dbc4f0cee7b30d7381be819152b27653d9b0049266e59bde2e2c972a88c4f2bdea766fc407bbdfef15d0aab30fedc756189a1048170a812853133a5094fe7a5  xload-1.1.3.tar.bz2"