diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-01-27 20:24:20 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-01-27 20:24:20 +0000 |
commit | 51ca979b68263b19843ae97472c88535121dce59 (patch) | |
tree | c89784879e1aebd63755c796b82042a60f3929b6 | |
parent | 126b7a4adc5b554be1a108bc57192c0c55122b2e (diff) | |
parent | 25b06db6405c4181afabc5519434b9afa90f5411 (diff) | |
download | packages-51ca979b68263b19843ae97472c88535121dce59.tar.gz packages-51ca979b68263b19843ae97472c88535121dce59.tar.bz2 packages-51ca979b68263b19843ae97472c88535121dce59.tar.xz packages-51ca979b68263b19843ae97472c88535121dce59.zip |
Merge branch 'netsurf' into 'master'
user/netsurf: new package
See merge request !146
-rw-r--r-- | user/netsurf/APKBUILD | 35 | ||||
-rw-r--r-- | user/netsurf/Makefile.config | 1 |
2 files changed, 36 insertions, 0 deletions
diff --git a/user/netsurf/APKBUILD b/user/netsurf/APKBUILD new file mode 100644 index 000000000..54fdea907 --- /dev/null +++ b/user/netsurf/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=netsurf +pkgver=3.8 +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+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" +builddir="$srcdir/netsurf-all-$pkgver" + +prepare() { + default_prepare + cp "$srcdir"/Makefile.config "$builddir"/netsurf +} + +build() { + cd "$builddir" + make PREFIX=/usr NETSURF_USE_VIDEO=YES +} + +package() { + cd "$builddir" + make PREFIX=/usr DESTDIR="$pkgdir" install +} + +sha512sums="cc040566b2ae4bda1fa15f75f246b2977f17b1f0adc747ddf86a9f8873bc25dce46cacce8e3d80146e72cc0227b1642c9da8b39a73ca2b5bb254334a25b8136a netsurf-all-3.8.tar.gz +cb5f7ca711c4a015a49acc25882b9b95e151d69e68a21d1df068f107b2372dc7493a25c0dfc1ef0cf42ceb16ba47ceb1002f6d37c2424512b183b508ee41357e Makefile.config" diff --git a/user/netsurf/Makefile.config b/user/netsurf/Makefile.config new file mode 100644 index 000000000..0e58d6e7d --- /dev/null +++ b/user/netsurf/Makefile.config @@ -0,0 +1 @@ +override NETSURF_USE_VIDEO := NO |