summaryrefslogtreecommitdiff
path: root/user/xprop
diff options
context:
space:
mode:
Diffstat (limited to 'user/xprop')
-rw-r--r--user/xprop/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/xprop/APKBUILD b/user/xprop/APKBUILD
new file mode 100644
index 000000000..6ea54cbb0
--- /dev/null
+++ b/user/xprop/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xprop
+pkgver=1.2.3
+pkgrel=0
+pkgdesc="X11 property inspector"
+url="https://cgit.freedesktop.org/xorg/app/xprop/"
+arch="all"
+license="X11 AND MIT"
+depends=""
+makedepends="libx11-dev util-macros"
+subpackages="$pkgname-doc"
+source="https://www.X.Org/archive/individual/app/xprop-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ad7987fec11ae19b7adc3b0f683fc393e95155f3b6c753d1d8744aedcfb360452eee5735a4c380152b286905931515f3e1a28676b5531001eb8dd93b7249916a xprop-1.2.3.tar.bz2"