PKGBUILD 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Arch Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
  2. # Arch Maintainer: dorphell <dorphell@archlinux.org>
  3. # Hyperbola Maintainer: pekman <pekman@hyperbola.info>
  4. pkgname=dillo
  5. pkgver=3.0.5
  6. pkgrel=5.hyperbola1
  7. pkgdesc="A small, fast graphical web browser built on FLTK"
  8. arch=(i686 x86_64)
  9. url="http://www.dillo.org"
  10. license=('GPL')
  11. install=$pkgname.install
  12. depends=('fltk' 'libjpeg' 'perl' 'openssl' 'libpng' 'gcc-libs' 'libxcursor'
  13. 'libxi' 'libxinerama' 'openssl-1.0')
  14. backup=(etc/dillo/{dillorc,dpidrc})
  15. validpgpkeys=('D91CE08D8679CF2A6F8792E05B1004E936929CEE')
  16. source=(https://www.dillo.org/download/$pkgname-$pkgver.tar.bz2{,.asc}
  17. dillo.desktop
  18. dillo.png)
  19. sha256sums=('db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b'
  20. 'SKIP'
  21. '54848080de1911a2af8ff786fbe92bdad8fe8b7b8a0d580c9c79b0a98f9fdcde'
  22. 'de629745e6f3a271475a501e2b94558b3deb7bf9a407bcef16426e600e1731f3')
  23. build() {
  24. cd "$srcdir/$pkgname-$pkgver"
  25. CFLAGS="-I/usr/include/openssl-1.0" LDFLAGS="-L/usr/lib/openssl-1.0" \
  26. ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --localstatedir=/var --enable-cookies --enable-dlgui --enable-png --enable-gif --enable-jpeg --enable-ssl --enable-ipv6 --enable-threaded-dns
  27. make
  28. }
  29. package() {
  30. cd "$srcdir/$pkgname-$pkgver"
  31. make DESTDIR="$pkgdir" install
  32. mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
  33. install -m644 AUTHORS ChangeLog README NEWS \
  34. "$pkgdir"/usr/share/doc/$pkgname/
  35. install -Dm644 "$srcdir"/dillo.desktop \
  36. "$pkgdir"/usr/share/applications/dillo.desktop \
  37. install -Dm644 "$srcdir"/dillo.png \
  38. "$pkgdir"/usr/share/pixmaps/dillo.png \
  39. }