summaryrefslogtreecommitdiff
path: root/user/w3m
diff options
context:
space:
mode:
Diffstat (limited to 'user/w3m')
-rw-r--r--user/w3m/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/w3m/APKBUILD b/user/w3m/APKBUILD
new file mode 100644
index 000000000..134acd67d
--- /dev/null
+++ b/user/w3m/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=w3m
+pkgver=0.5.3_git20190105
+pkgrel=0
+pkgdesc="Text-based Web browser"
+url="http://w3m.sourceforge.net/"
+arch="all"
+options="!check" # No test suite.
+license="MIT AND X11"
+depends="compface"
+makedepends="compface-dev gc-dev gdk-pixbuf-dev glib-dev gtk+2.0-dev imlib2-dev
+ libbsd-dev libx11-dev ncurses-dev openssl-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="w3m-$pkgver.tar.gz::https://github.com/tats/w3m/archive/v0.5.3+git20190105.tar.gz"
+builddir="$srcdir"/w3m-${pkgver/_/-}
+
+build() {
+ cd "$builddir"
+ LIBS="-lX11 -ltinfo" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make funcname.tab
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="b63b15d0bea82f50bcaa9fc0826c2d3c265a3ad73069b4a020812f28b552cdf08618ab877280c9f3a43bd64f51b80b7a526098e6395ea121c0981a3fcd2562b4 w3m-0.5.3_git20190105.tar.gz"