summaryrefslogtreecommitdiff
path: root/user/netsurf/APKBUILD
blob: e6f79962774bbbca28ef26d127f3421bae4daf01 (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
31
32
33
34
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=netsurf
pkgver=3.9
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+2.0-dev librsvg-dev
	perl-html-parser"
source="http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz
	Makefile.config
	"
builddir="$srcdir/netsurf-all-$pkgver"

prepare() {
	default_prepare
	cp "$srcdir"/Makefile.config "$builddir"/netsurf
}

build() {
	make PREFIX=/usr NETSURF_USE_VIDEO=YES
}

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

sha512sums="3223b0a3bc9721ea1a5a81bbabdda11e1d0f63850074a5dea3ea8999e53c92f07228f58befbf10359c028965131426888a8b9595d6c3cd7a5cde33ca256cf987  netsurf-all-3.9.tar.gz
cb5f7ca711c4a015a49acc25882b9b95e151d69e68a21d1df068f107b2372dc7493a25c0dfc1ef0cf42ceb16ba47ceb1002f6d37c2424512b183b508ee41357e  Makefile.config"