summaryrefslogblamecommitdiff
path: root/user/xwininfo/APKBUILD
blob: 1d8d7c71701149180f97d68537857931b4113968 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                    
            








                                                    
                                                                          

         











                                         


                                      
                                                                                                                                                                    
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=xwininfo
pkgver=1.1.6
pkgrel=0
pkgdesc="Window information utility for X"
url="https://cgit.freedesktop.org/xorg/app/xwininfo"
arch="all"
options="!check"  # No test suite.
license="MIT AND X11"
depends=""
makedepends="libx11-dev libxext-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xwininfo-$pkgver.tar.xz"

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

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

sha512sums="c6df4ed3dcf97772450612f2786ecab8313a43bb78e0b8020cc9ec228b3f466f55090313ad02c8159a73a6892d117322ad85e28d9d76e38bb84c9750712c20bc  xwininfo-1.1.6.tar.xz"