aboutsummaryrefslogtreecommitdiffstats
path: root/main/xprop/APKBUILD
blob: a0b26604ed38f5b695c22091bd9b89323f66d155 (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
33
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xprop
pkgver=1.2.4
pkgrel=0
pkgdesc="Property displayer for X"
url="https://cgit.freedesktop.org/xorg/app/xprop"
arch="all"
license="MIT"
makedepends="libx11-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/archive/individual/app/xprop-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

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

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

sha512sums="6e770cb89ba87ae057858cc9f0f5498979e78c3ef66ce86361b7c646cc0b70c41a18d76e55ed7225fe715b22b62bc07c56272519a2631b92832e9403ce260da7  xprop-1.2.4.tar.bz2"