summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/xmh/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xmh/APKBUILD b/user/xmh/APKBUILD
new file mode 100644
index 000000000..d7594e546
--- /dev/null
+++ b/user/xmh/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xmh
+pkgver=1.0.3
+pkgrel=0
+pkgdesc="X11 integration for MH message handling system"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends="xbitmaps"
+makedepends="libx11-dev libxaw-dev libxmu-dev libxt-dev util-macros"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/xmh-$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="acc1fb65fe69891272a25f3f45e7e1e7c57ad075bbaac7b3b53577853fbb07598d3ad3ea01130db6b10e3c347550ce23d709363440cbd73897bc39411640c251 xmh-1.0.3.tar.bz2"