aboutsummaryrefslogtreecommitdiffstats
path: root/main/xprop/APKBUILD
blob: 64c7daa0f8c2e8d3f48ba9301ccc8b06a229ed3a (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
34
35
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xprop
pkgver=1.2.3
pkgrel=0
pkgdesc="Property displayer for X"
url="https://cgit.freedesktop.org/xorg/app/xprop"
arch="all"
license="MIT"
depends=
depends_dev=
makedepends="libx11-dev util-macros"
subpackages="$pkgname-doc"
source="http://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="ad7987fec11ae19b7adc3b0f683fc393e95155f3b6c753d1d8744aedcfb360452eee5735a4c380152b286905931515f3e1a28676b5531001eb8dd93b7249916a  xprop-1.2.3.tar.bz2"