summaryrefslogtreecommitdiff
path: root/user/x11perf
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 00:13:21 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 00:13:21 +0000
commit29bcdbf0b8d2fb4a1bb42727f21ee43a5cf86c36 (patch)
tree7a86b068498958cf0ab4ca9c8a5f25efa78b8b64 /user/x11perf
parent624d7573951053f086498e5a3de7efea1bc3f86f (diff)
downloadpackages-29bcdbf0b8d2fb4a1bb42727f21ee43a5cf86c36.tar.gz
packages-29bcdbf0b8d2fb4a1bb42727f21ee43a5cf86c36.tar.bz2
packages-29bcdbf0b8d2fb4a1bb42727f21ee43a5cf86c36.tar.xz
packages-29bcdbf0b8d2fb4a1bb42727f21ee43a5cf86c36.zip
user/x11perf: new package
Diffstat (limited to 'user/x11perf')
-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"