From da0a0d88caa1bf934ebf314ef86e15928dbb027b Mon Sep 17 00:00:00 2001 From: root Date: Tue, 7 May 2013 00:36:35 -0700 Subject: Tue May 7 00:36:35 PDT 2013 --- core/links/PKGBUILD | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'core/links') diff --git a/core/links/PKGBUILD b/core/links/PKGBUILD index 135074e88..2799672e5 100644 --- a/core/links/PKGBUILD +++ b/core/links/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 162886 2012-07-02 17:59:15Z eric $ +# $Id: PKGBUILD 184459 2013-05-06 19:47:23Z foutrelis $ # Maintainer: Eric BĂ©langer pkgname=links pkgver=2.7 -pkgrel=1 +pkgrel=2 pkgdesc="A text WWW browser, similar to Lynx" arch=('i686' 'x86_64') url="http://links.twibright.com/" license=('GPL') -depends=('bzip2' 'xz' 'zlib' 'openssl' 'gpm') -makedepends=('libtiff' 'libpng' 'libxt') +depends=('bzip2' 'xz' 'openssl' 'gpm') +makedepends=('libtiff' 'libpng' 'libxt' 'optipng') optdepends=('libx11: for using xlinks' 'libtiff: for using xlinks' 'libpng: for using xlinks') provides=('links-g') conflicts=('links-g') @@ -18,8 +18,14 @@ source=(http://links.twibright.com/download/${pkgname}-${pkgver}.tar.bz2 links.d sha1sums=('1e362a7e27078d630edf5868145a46247cda8cc3' 'f600e27c2a71184444f7dd07a10230aa44463a02') +prepare() { + cd ${pkgname}-${pkgver} + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" configure + optipng graphics/font/century_school-medium-roman-serif-vari/045e.png +} + build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} (cd intl; ./gen-intl; ./synclang) ./configure --prefix=/usr --mandir=/usr/share/man --enable-javascript \ --enable-graphics --with-x --with-fb @@ -32,7 +38,7 @@ build() { } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -m755 xlinks "${pkgdir}/usr/bin/xlinks" -- cgit v1.2.3-54-g00ecf