blob: c757ccaf4f445c50404f053a784bc246b42d3575 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xwininfo
pkgver=1.1.4
pkgrel=0
pkgdesc="Window information utility for X"
url="https://cgit.freedesktop.org/xorg/app/xwininfo"
arch="all"
license="MIT"
options="!check" # No test suite.
depends=
makedepends="libx11-dev libxext-dev util-macros"
install=
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xwininfo-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="d3ab103a0a311e08d1eabc4346750c21eb7d2fbcdc27cab0989a2624b9cd488911614fcf9832603353450114b1231a8f8262cab16e090a0d458d83ec7b6b959b xwininfo-1.1.4.tar.bz2"
|