summaryrefslogblamecommitdiff
path: root/user/w3m/APKBUILD
blob: 134acd67d3028c8d7ce447e22ec0dfa84da4214a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


                                                  
                        









                                                                               

                                                                                          


















                                          
                                                                                                                                                                           
# 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"