summaryrefslogtreecommitdiff
path: root/user/xsetroot/APKBUILD
blob: f5d199fbb791133301101781cf9fc88b8ef842cd (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xsetroot
pkgver=1.1.3
pkgrel=0
pkgdesc="Set the root window (desktop background) of an X11 session"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="libx11-dev libxcursor-dev libxmu-dev util-macros xbitmaps"
subpackages="$pkgname-doc"
source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.xz"

build() {
	./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="f333d1bfd92bb943044da36331ae2cf68a811c8f3891719d9ebc1749e2dd0c67068f86face0794c3c4ae584c4dd189bad4998dccb38fe1ac37a8921e5713e7c0  xsetroot-1.1.3.tar.xz"