summaryrefslogtreecommitdiff
path: root/user/xwininfo/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-09-16 12:15:43 -0400
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-16 16:40:24 +0000
commit670df6aa76de742b558febabd30d4c4216ac3751 (patch)
treed6b5733ebe440633681134b0006a7683d9b3e829 /user/xwininfo/APKBUILD
parentd7524c45a0a538a6881c69e8db2ec696545b78c5 (diff)
downloadpackages-670df6aa76de742b558febabd30d4c4216ac3751.tar.gz
packages-670df6aa76de742b558febabd30d4c4216ac3751.tar.bz2
packages-670df6aa76de742b558febabd30d4c4216ac3751.tar.xz
packages-670df6aa76de742b558febabd30d4c4216ac3751.zip
user/xwininfo: new package
Diffstat (limited to 'user/xwininfo/APKBUILD')
-rw-r--r--user/xwininfo/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/xwininfo/APKBUILD b/user/xwininfo/APKBUILD
new file mode 100644
index 000000000..c9afec639
--- /dev/null
+++ b/user/xwininfo/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=xwininfo
+pkgver=1.1.4
+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.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --infodir=/usr/share/info
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d3ab103a0a311e08d1eabc4346750c21eb7d2fbcdc27cab0989a2624b9cd488911614fcf9832603353450114b1231a8f8262cab16e090a0d458d83ec7b6b959b xwininfo-1.1.4.tar.bz2"