aboutsummaryrefslogtreecommitdiffstats
path: root/community/xsetroot/APKBUILD
blob: 4de17934c563f5452ca9df658a4fe1265df27282 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xsetroot
pkgver=1.1.2
pkgrel=0
pkgdesc="X.Org xsetroot application"
url="http://xorg.freedesktop.org"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
makedepends="libx11-dev libxmu-dev libxcursor-dev xbitmaps util-macros"
source="https://www.x.org/releases/individual/app/xsetroot-$pkgver.tar.bz2"

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

check() {
	make -C "$builddir" check
}

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

sha512sums="0b9df1b72305e5c24f1e1664578aa4411a5ffcdc5d318458117594e641f01c34700205b0d16c08abf4a8106d36128ccdbe1ea1f1035fce9018d6b52801a8b72b  xsetroot-1.1.2.tar.bz2"