summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/xman/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xman/APKBUILD b/user/xman/APKBUILD
new file mode 100644
index 000000000..8bc1b8a44
--- /dev/null
+++ b/user/xman/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xman
+pkgver=1.1.4
+pkgrel=0
+pkgdesc="Read manual pages from the comfort of X11"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends="groff"
+makedepends="libxaw-dev libxt-dev util-macros xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/xman-$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="785e973eb15b0300de08aace24f3604dfee61421c7f64ea4cde2e280480bf5d3ad797ab8208668dc023a375494f8db7534fbcaa1c1ef16e79464fdd017b5da68 xman-1.1.4.tar.bz2"