1 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: dorphell <dorphell@archlinux.org>
7 pkgdesc="A small, fast graphical web browser built on FLTK"
9 url="https://www.dillo.org"
11 depends=('fltk' 'libjpeg' 'libpng' 'openssl' 'perl' 'zlib')
12 backup=(etc/dillo/{dillorc,domainrc,dpidrc,keysrc})
13 validpgpkeys=('D91CE08D8679CF2A6F8792E05B1004E936929CEE')
14 source=(https://www.dillo.org/download/$pkgname-$pkgver.tar.bz2{,.asc}
17 https://www.dillo.org/Icons/ProgramIcon128.png)
18 sha256sums=('db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b'
20 'ddd097b30b95a5ac5638f57d04dc2e421d5c2fa3d0985747921e1bfc5b55fb23'
21 'e94ead3a359c2eceb934b07af0fac4864251b9721fa7f4855331daa017b66202'
22 '72ecb57983117b17f0777caf6cf935a2ad5d72aca7b07b11f5b75562cb420778')
25 cd "$srcdir/$pkgname-$pkgver"
26 patch -Np1 -i ../openssl.patch
31 cd "$srcdir/$pkgname-$pkgver"
32 CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
33 ./configure --prefix=/usr --sysconfdir=/etc --enable-cookies --enable-ssl
38 cd "$srcdir/$pkgname-$pkgver"
39 make DESTDIR="$pkgdir" install
41 install -Dm644 ../dillo.desktop "$pkgdir/usr/share/applications/dillo.desktop"
42 install -Dm644 ../ProgramIcon128.png "$pkgdir/usr/share/pixmaps/dillo.png"