blob: 121cfef072caf3adefa20d6d0b0eda01c6d938f1 (
plain)
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
35
36
37
38
39
40
41
42
43
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=netsurf
pkgver=3.8
pkgrel=0
pkgdesc="NetSurf is a free, open source web browser."
url="http://www.netsurf-browser.org"
arch="all"
license="GPL-2.0"
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 libidn-dev
check-dev libharu-dev librsvg-dev libjpeg-turbo-dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::http://download.netsurf-browser.org/netsurf/releases/source-full/$pkgname-all-$pkgver.tar.gz
netsurf"
builddir="$srcdir"/$pkgname-all-$pkgver
prepare() {
default_prepare
sed 's:-Werror::' -i "$builddir"/libsvgtiny/Makefile
}
build() {
cd "$builddir"
make PREFIX=/usr TARGET=gtk
}
package() {
cd "$builddir"
make PREFIX=/usr TARGET=gtk DESTDIR="$pkgdir" install
install -Dm755 "$srcdir/netsurf" "$pkgdir/usr/bin/$pkgname"
mkdir -p "$pkgdir"/usr/share/man/man1/
install -Dm644 netsurf/docs/netsurf-gtk.1 "$pkgdir"/usr/share/man/man1/
}
sha512sums="cc040566b2ae4bda1fa15f75f246b2977f17b1f0adc747ddf86a9f8873bc25dce46cacce8e3d80146e72cc0227b1642c9da8b39a73ca2b5bb254334a25b8136a netsurf-3.8.tar.gz
a22f945720d3bd8fc27396aea973be1e0b6f7a03bbe438fb48faf680882be46b05fc252b5fe8d55cde0cc11f3647f4ac331dcc330f47ae12a93b327f30a9ad2a netsurf"
|