From cf99ce2de096b4fbf9e4e9cb323aa103183fe467 Mon Sep 17 00:00:00 2001 From: Cecil Date: Sat, 15 Jan 2011 20:21:49 -0800 Subject: feh:bumped --- abs/core/feh/PKGBUILD | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/abs/core/feh/PKGBUILD b/abs/core/feh/PKGBUILD index ad38f8f..95c377c 100644 --- a/abs/core/feh/PKGBUILD +++ b/abs/core/feh/PKGBUILD @@ -1,17 +1,31 @@ +# $Id: PKGBUILD 94545 2010-10-08 08:16:45Z bisson $ +# Maintainer: +# Contributor: Andrea Scarpino +# Contributor: dorphell +# Contributor: Tom Newsom pkgname=feh -pkgver=1.3.4 -pkgrel=4 -pkgdesc="feh is a fast, lightweight image viewer which uses imlib2" -depends=('libjpeg' 'libpng' 'libxinerama' 'giblib') -#source=(http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz) -source=(http://ftp.gva.es/mirror/debian/pool/main/f/feh/feh_1.3.4.orig.tar.gz) -url="http://www.linuxbrit.co.uk/feh/" -arch=('i686') +pkgver=1.10 +pkgrel=1 +pkgdesc='Fast, lightweight image viewer which uses imlib2' +arch=('i686' 'x86_64') +url='https://derf.homelinux.org/~derf/projects/feh/' +license=('MIT') +depends=('libxinerama' 'giblib' 'perl') +makedepends=('libxt') +source=("https://derf.homelinux.org/~derf/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('c42095ed6a7636fe9d1ec90d3994f4a57af84681') build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr - make || return 1 - make prefix=$startdir/pkg/usr install + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i -e 's:/usr/local:/usr:g' config.mk + make +} + +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -- cgit v0.12