summaryrefslogtreecommitdiff
path: root/user/xrefresh/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xrefresh/APKBUILD')
-rw-r--r--user/xrefresh/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xrefresh/APKBUILD b/user/xrefresh/APKBUILD
new file mode 100644
index 000000000..e942b954b
--- /dev/null
+++ b/user/xrefresh/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xrefresh
+pkgver=1.0.6
+pkgrel=0
+pkgdesc="Refresh an X11 screen"
+url="https://www.X.Org/"
+arch="all"
+license="X11 AND MIT"
+depends=""
+makedepends="libx11-dev util-macros xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/xrefresh-$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="361e97fecfc2706d5eeab69df0d4dd4baa55b6783cfddabf51d8561b7c930d71ce6c217e0512c6564208d69b04f89c69ea8c0bfb2e4f6cc25b062b55e4db3674 xrefresh-1.0.6.tar.bz2"