blob: 78501456f6e0f53ffd54eedcf9bf841b72ec9bd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=dillo
pkgver=3.0.5
pkgrel=2
pkgdesc="Very small and fast GUI web browser"
url="http://www.dillo.org"
arch="all"
license="GPL"
depends=""
makedepends="fltk-dev zlib-dev libx11-dev libpng-dev
libjpeg-turbo-dev libressl-dev"
install=""
subpackages="$pkgname-doc"
source="http://www.dillo.org/download/${pkgname}-${pkgver}.tar.bz2
dillo.desktop
dillo.png
"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare || return 1
cd "$builddir"
update_config_sub || return 1
}
build() {
cd "$builddir"
./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 \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
install -m644 AUTHORS ChangeLog README NEWS \
"$pkgdir"/usr/share/doc/$pkgname/ || return 1
install -Dm644 "$srcdir"/dillo.desktop \
"$pkgdir"/usr/share/applications/dillo.desktop \
|| return 1
install -Dm644 "$srcdir"/dillo.png \
"$pkgdir"/usr/share/pixmaps/dillo.png \
|| return 1
}
md5sums="554aad93b6107bba696f4da022c41561 dillo-3.0.5.tar.bz2
ffb9cdcb3506b5aeba9e0d1bcaa4006d dillo.desktop
2ca5fb738b70051cac592acef3cb56e1 dillo.png"
sha256sums="db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b dillo-3.0.5.tar.bz2
54848080de1911a2af8ff786fbe92bdad8fe8b7b8a0d580c9c79b0a98f9fdcde dillo.desktop
de629745e6f3a271475a501e2b94558b3deb7bf9a407bcef16426e600e1731f3 dillo.png"
sha512sums="d0e86f57e50da762debf592b6deb94de5ee58f84e0cae1159890262540a463aea8143d2b99c634021c1f273f91c2fe0918f30d72c3eaf91fdb541e741469b155 dillo-3.0.5.tar.bz2
393a749d33f78e4c8a99c0c94a9708b26d235356f0c8dfa942af4e8da7eb9aa2453911894461714986449dfd15a4b492ef9071fac6b230f52a8f2e562f1bf016 dillo.desktop
cfc9bcf1bfd0fff7fc625c7d288c92d0f33418b963a4e344844fd2bcb33823b3215a8a1a86162dcd1c614eea2323bb361c11bd8bd15859b771c63943c1b40833 dillo.png"
|