aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dillo/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/dillo/APKBUILD')
-rw-r--r--testing/dillo/APKBUILD62
1 files changed, 62 insertions, 0 deletions
diff --git a/testing/dillo/APKBUILD b/testing/dillo/APKBUILD
new file mode 100644
index 0000000000..98e4bfba45
--- /dev/null
+++ b/testing/dillo/APKBUILD
@@ -0,0 +1,62 @@
+# Contributor: ScrumpyJack <scrumpyjack@me.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=dillo
+pkgver=3.0.4
+pkgrel=0
+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
+ openssl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://www.dillo.org/download/${pkgname}-${pkgver}.tar.bz2
+ dillo.desktop
+ dillo.png
+ "
+
+_builddir=$srcdir/${pkgname}-${pkgver}
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-ipv6 \
+ --enable-ssl \
+ || return 1
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || 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="c85aab6b840527e1dd71b220a1dcfbab dillo-3.0.4.tar.bz2
+ffb9cdcb3506b5aeba9e0d1bcaa4006d dillo.desktop
+2ca5fb738b70051cac592acef3cb56e1 dillo.png"
+sha256sums="ee2bab25010dd27b18ba80259df6eb8f6b549f5af596539c08eed0b70322df39 dillo-3.0.4.tar.bz2
+54848080de1911a2af8ff786fbe92bdad8fe8b7b8a0d580c9c79b0a98f9fdcde dillo.desktop
+de629745e6f3a271475a501e2b94558b3deb7bf9a407bcef16426e600e1731f3 dillo.png"
+sha512sums="57513342026288255f3a2a783f206a24b9b29a03f4721d34f6e43111d61b248c56e1212abdb51adcc826c4ca081f9fa5157247c00eda95d9b5287556fe9da175 dillo-3.0.4.tar.bz2
+393a749d33f78e4c8a99c0c94a9708b26d235356f0c8dfa942af4e8da7eb9aa2453911894461714986449dfd15a4b492ef9071fac6b230f52a8f2e562f1bf016 dillo.desktop
+cfc9bcf1bfd0fff7fc625c7d288c92d0f33418b963a4e344844fd2bcb33823b3215a8a1a86162dcd1c614eea2323bb361c11bd8bd15859b771c63943c1b40833 dillo.png"