summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/x11perf/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/x11perf/APKBUILD b/user/x11perf/APKBUILD
new file mode 100644
index 000000000..2c3d265bb
--- /dev/null
+++ b/user/x11perf/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=x11perf
+pkgver=1.6.0
+pkgrel=0
+pkgdesc="X11 server benchmarking utility"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+depends=""
+makedepends="libx11-dev libxft-dev libxmu-dev libxrender-dev util-macros
+ xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/x11perf-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="a9508c9dd6db2663b5bd30f5e1f5f80b1d22ce5221ae3dc292e746f8e554fda2d3130f7311f2545e20244dceb51e867fe80fec82c9ac5911dcdc90a73b231623 x11perf-1.6.0.tar.bz2"