summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/xdpyinfo/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/xdpyinfo/APKBUILD b/user/xdpyinfo/APKBUILD
new file mode 100644
index 000000000..d6d4a0f89
--- /dev/null
+++ b/user/xdpyinfo/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xdpyinfo
+pkgver=1.3.2
+pkgrel=1
+pkgdesc="X11 utility to show display information"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="libxtst-dev"
+subpackages="$pkgname-doc"
+source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="2c9097c13778c7a7fe5a9b3ee04b28512ff6028231eca91ecdf6104c742be470678920d37a4f540fece7e39dccbea34802271f359ab80618027b2856c8912e7d xdpyinfo-1.3.2.tar.bz2"