summaryrefslogblamecommitdiff
path: root/user/netsurf/APKBUILD
blob: 917c71be55044ce1189446f02f150611e3db8b29 (plain) (tree)
1
2
3
4
5


                                                           
        








                                                                                                   

                       






                                                        


                                              


                                                                                                                                                                    
                                                                                                                                                 
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=netsurf
pkgver=3.8
pkgrel=1
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
	curl.patch
	"
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="cc040566b2ae4bda1fa15f75f246b2977f17b1f0adc747ddf86a9f8873bc25dce46cacce8e3d80146e72cc0227b1642c9da8b39a73ca2b5bb254334a25b8136a  netsurf-all-3.8.tar.gz
cb5f7ca711c4a015a49acc25882b9b95e151d69e68a21d1df068f107b2372dc7493a25c0dfc1ef0cf42ceb16ba47ceb1002f6d37c2424512b183b508ee41357e  Makefile.config
594c82f550ac04ea86807a7b2d634e10b24156439588d2d1917f67a8962ae872ab50289400d7f779ba0711a6758aee4bd442d7318fe6f271945e60242285c2bb  curl.patch"