# Contributor: ScrumpyJack # Maintainer: ScrumpyJack pkgname=netsurf pkgver=3.4 pkgrel=0 pkgdesc="NetSurf is a free, open source web browser." url="http://www.netsurf-browser.org" arch="all" license="GPL2" depends="" depends_dev="" makedepends="curl-dev openssl-dev doxygen flex bison libwebp-dev lcms2-dev \ libmng-dev gperf libglade-dev gtk+-dev libcurl libpng-dev \ check-dev libidn-dev libharu-dev librsvg-dev libjpeg-turbo-dev" install="" subpackages="$pkgname-doc" source="http://download.netsurf-browser.org/netsurf/releases/source-full/${pkgname}-all-${pkgver}.tar.gz" "netsurf.sh" builddir=${srcdir}/${pkgname}-all-${pkgver} build() { cd "$builddir" sed 's:-Werror::' -i libsvgtiny/Makefile make PREFIX=/usr TARGET=gtk } package() { cd "$builddir" make PREFIX=/usr TARGET=gtk DESTDIR="${pkgdir}" install mv "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/bin/$pkgname.elf" install -Dm755 "../$pkgname" "$pkgdir/usr/bin/$pkgname" mkdir -p "$pkgdir"/usr/share/man/man1/ install -Dm644 netsurf/Docs/netsurf-gtk.1 "$pkgdir"/usr/share/man/man1/ } md5sums="7e31c250908a2ca582acef5a086dfbac netsurf-all-3.4.tar.gz" sha256sums="c62cbecfb19b78b27b9065858484696c179ff17f828b848e28d6617fcdaafdd6 netsurf-all-3.4.tar.gz" sha512sums="89af66021ad10a437be085c0ee40e7ac3df44f68660bb582017569d5982974ba68777cfb924cb2de585b972ea8112bc033b8905906f9be18c6b8a154a9ae0a46 netsurf-all-3.4.tar.gz"