summaryrefslogtreecommitdiff
path: root/user/netsurf/APKBUILD
blob: 8be7259e785fb7bf2f07865e5564bb705e42d45b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=netsurf
pkgver=3.10
pkgrel=0
pkgdesc="Modern, lightweight GTK-based browser"
url="http://www.netsurf-browser.org/"
arch="all"
options="!check" # No tests
license="MIT AND GPL-2.0-only WITH openssl-exception"
depends=""
makedepends="curl-dev zlib-dev bison flex libjpeg-turbo-dev libpng-dev
	openssl-dev expat-dev gperf gtk+3.0-dev librsvg-dev libwebp-dev
	perl-html-parser vim"
source="http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz
	netsurf.desktop
	"
builddir="$srcdir/netsurf-all-$pkgver"

build() {
	make TARGET=gtk3 PREFIX=/usr NETSURF_USE_VIDEO=NO
}

package() {
	make TARGET=gtk3 PREFIX=/usr DESTDIR="$pkgdir" install
	install -D -m644 "$srcdir"/netsurf.desktop "$pkgdir"/usr/share/applications/netsurf.desktop
}

sha512sums="fc4c300eef07c540a7e07f8034db25b7e5fb731b5956029af2220f8638802aa38c055ad54b5683c14501aef9c22fb781b96613c16ae9a6996c3833ceede6f9bf  netsurf-all-3.10.tar.gz
81cce213162cc49ea6a85b81c143c480ed202e2d2d06bb79d2eea803d7e8361b063d29c74904451cc2ba4e31cdad3524098344eb140cd5080f83beaf43aa8dbd  netsurf.desktop"