summaryrefslogblamecommitdiff
path: root/user/netsurf/APKBUILD
blob: f99216aa6a99de3f6721982da4325ef4973445a1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                                           
               
           
        






                                                                      
                                                                       
                             
                                                                                                   
                       
         

                                      
         
                                                         


           

                                                                                                   

 
                                                                                                                                                                     
                                                                                                                                                  
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=netsurf
pkgver=3.11
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="f931687e08976ca336762587cc1ac75e45518be62b19d1d31aac3063b92b9666f8a022ff3a183e80c89404ba8ff33458b26521130e96943043085a42291ee283  netsurf-all-3.11.tar.gz
81cce213162cc49ea6a85b81c143c480ed202e2d2d06bb79d2eea803d7e8361b063d29c74904451cc2ba4e31cdad3524098344eb140cd5080f83beaf43aa8dbd  netsurf.desktop"