summaryrefslogtreecommitdiff
path: root/user/xlsatoms/APKBUILD
blob: bc05dceb0b0c4616dfbac63485b9b206067bbff0 (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xlsatoms
pkgver=1.1.2
pkgrel=0
pkgdesc="List interned atoms in an X11 server"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libxcb-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xlsatoms-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./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="f29001de22818792212312f1b9daee1bf7afa2ef2ae945cd8c14bdc1a7bb40064d3878c5efea60458ac0bf515ab1ece16fa90cbd2b0a879a5f07f3aa3e6a0baa  xlsatoms-1.1.2.tar.bz2"