summaryrefslogtreecommitdiff
path: root/user/xdriinfo
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 01:41:05 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 01:41:05 +0000
commitbb5e17589517ad8cde7db3b7bd91286cff59b4ab (patch)
tree6b43f6c26c70b9af22043e16574c57b142b747d2 /user/xdriinfo
parent9dd7af5eb320bfbef09456b1b831e2f371f48d21 (diff)
downloadpackages-bb5e17589517ad8cde7db3b7bd91286cff59b4ab.tar.gz
packages-bb5e17589517ad8cde7db3b7bd91286cff59b4ab.tar.bz2
packages-bb5e17589517ad8cde7db3b7bd91286cff59b4ab.tar.xz
packages-bb5e17589517ad8cde7db3b7bd91286cff59b4ab.zip
user/xdriinfo: new package
Diffstat (limited to 'user/xdriinfo')
-rw-r--r--user/xdriinfo/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xdriinfo/APKBUILD b/user/xdriinfo/APKBUILD
new file mode 100644
index 000000000..ae39b7f97
--- /dev/null
+++ b/user/xdriinfo/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xdriinfo
+pkgver=1.0.6
+pkgrel=0
+pkgdesc="X11 DRI information viewer"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="libx11-dev mesa-dev util-macros xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/xdriinfo-$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="7ddd9e19abaef93e4d85004293528ec3814ef84c470d496dbb8dc8313d804bb7520406de8d33d2bc2b3af942bd0a5d5032a109b2726438a966af63ea680a102f xdriinfo-1.0.6.tar.bz2"