1 # Contributor: Kosenko Roman <madkite@gmail.com>
5 pkgdesc='Web browser running in both graphics and text mode'
6 url='http://links.twibright.com'
9 depends=('openssl' 'zlib' 'bzip2' 'gpm' 'libx11' 'freetype2' 'libtiff' 'libpng')
10 makedepends=('pkgconfig')
11 source=(${url}/download/${pkgname%-*}-${pkgver}.tar.bz2 \
12 ${pkgname%-*}-${pkgver}-utf8.diff)
14 provides=("links=${pkgver}")
17 cd ${startdir}/src/${pkgname%-*}-${pkgver}
18 patch -i ../${pkgname%-*}-${pkgver}-utf8.diff -p1 || return 1
19 cd Unicode && LANG=C ./gen && cd .. || return 1
20 cd intl && ./gen-intl && cd .. || return 1
21 cd graphics && ./gen && cd .. || return 1
22 ./configure --prefix=/usr --enable-javascript --enable-graphics --with-ssl --with-x || return 1
24 make DESTDIR=${startdir}/pkg install || return 1
27 md5sums=('bf5b20529a2a811701c5af52b28ebdd4' '161c5407384a5d7e5558e7aa415713d2')