diff options
author | ScrumpyJack <scrumpyjack@st.ilet.to> | 2016-04-14 14:35:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-18 09:15:28 +0000 |
commit | c75bff70ef5637c36d61ef4309160a27b97c6f63 (patch) | |
tree | 902a48d616e13c67cca1ab1debd7494d315bd1c5 /testing/netsurf/APKBUILD | |
parent | 51f36e38defa292e9fa5c996f6050bdc689d8150 (diff) | |
download | aports-c75bff70ef5637c36d61ef4309160a27b97c6f63.tar.bz2 aports-c75bff70ef5637c36d61ef4309160a27b97c6f63.tar.xz |
testing/netsurf: new aport
NetSurf is a free, open source web browser.
http://www.netsurf-browser.org
Diffstat (limited to 'testing/netsurf/APKBUILD')
-rw-r--r-- | testing/netsurf/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/netsurf/APKBUILD b/testing/netsurf/APKBUILD new file mode 100644 index 0000000000..14dd28ecf2 --- /dev/null +++ b/testing/netsurf/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +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" |