summaryrefslogtreecommitdiff
path: root/user/xdpyinfo/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-28 00:17:50 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-28 00:17:50 -0500
commit5071f7017e9e28969eeae0ba55534a3ef0740500 (patch)
tree49d2f707b663493da691667db42e78377ca24b75 /user/xdpyinfo/APKBUILD
parent5520122edc5cc6b5412050c44e57462dd0f41235 (diff)
downloadpackages-5071f7017e9e28969eeae0ba55534a3ef0740500.tar.gz
packages-5071f7017e9e28969eeae0ba55534a3ef0740500.tar.bz2
packages-5071f7017e9e28969eeae0ba55534a3ef0740500.tar.xz
packages-5071f7017e9e28969eeae0ba55534a3ef0740500.zip
user/xdpyinfo: pull in, take, fix
Diffstat (limited to 'user/xdpyinfo/APKBUILD')
-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"