# Contributor: ScrumpyJack # Maintainer: ScrumpyJack pkgname=dillo pkgver=3.0.5 pkgrel=14 pkgdesc="Very small and fast GUI web browser" url="https://www.dillo.org" arch="all" license="GPL-3.0-or-later" depends="ca-certificates wget" makedepends="fltk-dev zlib-dev libx11-dev libpng-dev libjpeg-turbo-dev openssl-dev>3 autoconf automake" subpackages="$pkgname-doc" source="http://www.dillo.org/download/dillo-$pkgver.tar.bz2 dillo.desktop dillo-$pkgver.png::http://www.dillo.org/Icons/ProgramIcon48.png gcc-10.patch openssl-1.1.patch " prepare() { default_prepare update_config_sub aclocal automake --add-missing autoreconf -fi } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-png \ --enable-gif \ --enable-jpeg \ --enable-ipv6 \ --enable-ssl make } package() { make DESTDIR="$pkgdir" install install -Dm644 AUTHORS ChangeLog README NEWS \ -t "$pkgdir"/usr/share/doc/$pkgname/ install -Dm644 "$srcdir"/dillo.desktop \ "$pkgdir"/usr/share/applications/dillo.desktop install -Dm644 "$srcdir"/dillo-$pkgver.png \ "$pkgdir"/usr/share/icons/hicolor/48x48/apps/dillo.png } sha512sums=" d0e86f57e50da762debf592b6deb94de5ee58f84e0cae1159890262540a463aea8143d2b99c634021c1f273f91c2fe0918f30d72c3eaf91fdb541e741469b155 dillo-3.0.5.tar.bz2 393a749d33f78e4c8a99c0c94a9708b26d235356f0c8dfa942af4e8da7eb9aa2453911894461714986449dfd15a4b492ef9071fac6b230f52a8f2e562f1bf016 dillo.desktop cfc9bcf1bfd0fff7fc625c7d288c92d0f33418b963a4e344844fd2bcb33823b3215a8a1a86162dcd1c614eea2323bb361c11bd8bd15859b771c63943c1b40833 dillo-3.0.5.png 7cb0e73fd26028ad85edbf2c9ca86dd47728b6447ef10ede293fc0de11497f900d0a1f9ee90d4bf1a2e9137a4cebe96a491f3024bdb281ec7f7b68ea7a200ad6 gcc-10.patch b320439ebe8c3fcb40e4ccf0402cb1482235fff528d691c4be8ee6d931d4054e2fb8e0c4fdd8c5d3aa24f8b362d398e548ca9e58d4d5a50f11d16af219c00656 openssl-1.1.patch "