aboutsummaryrefslogtreecommitdiffstats
path: root/main/elinks/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/elinks/APKBUILD')
-rw-r--r--main/elinks/APKBUILD41
1 files changed, 16 insertions, 25 deletions
diff --git a/main/elinks/APKBUILD b/main/elinks/APKBUILD
index 647e33b368..3488fcf679 100644
--- a/main/elinks/APKBUILD
+++ b/main/elinks/APKBUILD
@@ -1,32 +1,23 @@
+# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=elinks
-pkgver=0.13
-_ver=${pkgver/_/}
-pkgrel=8
-pkgdesc="a text mode web browser"
+pkgver=0.14.3
+pkgrel=0
+pkgdesc="Advanced and well-established feature-rich text mode web browser"
url="http://elinks.or.cz/"
arch="all"
-license="GPL"
-depends=
-makedepends="bzip2-dev zlib-dev openssl1.1-compat-dev expat-dev gettext-dev"
-install=
+license="GPL-2.0"
+makedepends="automake autoconf zlib-dev bzip2-dev openssl-dev expat-dev gettext-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://dev.alpinelinux.org/archive/elinks/elinks-$pkgver.tar.bz2
- musl-va_copy.patch
- ssl-Make-RAND_egd-optional.patch
- elinks-0.12pre6-openssl11.patch
- "
-
-builddir="$srcdir"/elinks-0.13-20150624
+source="$pkgname-$pkgver.tgz::https://github.com/rkd77/elinks/archive/v$pkgver.tar.gz"
prepare() {
default_prepare
- update_config_sub
+ autoreconf -fi
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -34,20 +25,20 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --without-included-gettext
+ --without-included-gettext \
+ --enable-256-colors \
+ --enable-html-highlight \
+ --with-zlib
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
- rm -rf "$pkgdir"/usr/lib/charset.alias
- rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true
+ rm "$pkgdir"/usr/lib/charset.alias
#fix conflict with gettext
rm "$pkgdir"/usr/share/locale/locale.alias
}
-sha512sums="9dd7fb674ab914fccaf64b889f6fe3431f95abe1ae76f1df6155fbc89623ec921a4de5f30e896e94c77161c4b4638a29ec19b8e1fe4cbdebdc4666be024f8ed9 elinks-0.13.tar.bz2
-56378b4744783e8a07c5e92f3f75cdb7edf7b26881eb033789d71612c3971b3a3c5ada5f02ec422391242cbceb64ff31a2be68298608ed6448c37056d6dedf40 musl-va_copy.patch
-df3254ff429540cca66849e03cd6245bd3e82897225ba3bfea9a41ab222c0041e60c61784a9fd6f819b360b6168b6375a5455a97786ab656b24a8e1b4b96bda3 ssl-Make-RAND_egd-optional.patch
-85e7a4e560a87ba641a04e3fce918cd0a2b52bd13b162f15950e4bb7d19a511f984d0891e3df1784cc8bb77a53f6c7ed6ffe56d7707d6b32a6676e21725893b9 elinks-0.12pre6-openssl11.patch"
+sha512sums="
+50ad8c0d826cac52ba79d55d23fb5e996c4b470558419baf2fc2c6715f0aa61ef91e5e6328f40317c03b2c5815beae110ea964a7fcca28904a238d0c3408d7e9 elinks-0.14.3.tgz
+"