summaryrefslogblamecommitdiff
path: root/user/w3m/APKBUILD
blob: 702675358319e5b7f208c640aac26d39a7ba9113 (plain) (tree)
1
2
3
4
5
6

                                                  
                        
                                    








                                                                               
                                                                                  
         










                                          

                                      
                                                                                                                                                                           
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=w3m
pkgver=0.5.3_git20190105
_pkgverp="${pkgver%_*}+${pkgver#*_}"
_pkgverm="${pkgver%_*}-${pkgver#*_}"
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/v$_pkgverp.tar.gz"
builddir="$srcdir/$pkgname-$_pkgverm"

build() {
	LIBS="-lX11 -ltinfo" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make funcname.tab
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="b63b15d0bea82f50bcaa9fc0826c2d3c265a3ad73069b4a020812f28b552cdf08618ab877280c9f3a43bd64f51b80b7a526098e6395ea121c0981a3fcd2562b4  w3m-0.5.3_git20190105.tar.gz"