summaryrefslogtreecommitdiff
path: root/extra/fbida/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-18 23:03:19 +0000
committerroot <root@rshg047.dnsready.net>2011-06-18 23:03:19 +0000
commitc80552b41838a5668458ebb1eb9b0f44ea6fe879 (patch)
treed8404bc10128ad69e29c762d116434876e5885a7 /extra/fbida/PKGBUILD
parente96f6ac6e912185a495a99af2b0d51b73bd1d044 (diff)
Sat Jun 18 23:03:19 UTC 2011
Diffstat (limited to 'extra/fbida/PKGBUILD')
-rw-r--r--extra/fbida/PKGBUILD47
1 files changed, 16 insertions, 31 deletions
diff --git a/extra/fbida/PKGBUILD b/extra/fbida/PKGBUILD
index cde1743e8..b6081ed88 100644
--- a/extra/fbida/PKGBUILD
+++ b/extra/fbida/PKGBUILD
@@ -1,42 +1,27 @@
-# $Id: PKGBUILD 70970 2010-03-02 20:48:52Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: damir <damir@archlinux.org>
+# $Id: PKGBUILD 127739 2011-06-18 00:11:19Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=fbida
-pkgver=2.07
-pkgrel=5
+pkgver=2.08
+pkgrel=1
pkgdesc="Few applications to display and elementary edit images: fbi, fbgs, ida, exiftran"
arch=('i686' 'x86_64')
-url="http://linux.bytesex.org/fbida/"
+url="http://www.kraxel.org/blog/linux/fbida/"
license=('GPL2')
-depends=('giflib' 'libtiff' 'libjpeg' 'libexif' 'lesstif' 'libxpm' 'libpng' 'libx11' 'libxext' 'fontconfig')
+depends=('giflib' 'libtiff' 'libexif' 'lesstif' 'libpng' 'fontconfig')
+makedepends=('libxpm')
optdepends=('ghostscript: to use fbgs')
-replaces=('fbi')
-provides=('fbi')
-source=(http://dl.bytesex.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz libpng-1.4.patch \
- transupp.h transupp.c jinclude.h)
-md5sums=('3e05910fb7c1d9b2bd3e272d96db069c' '31b5a5318c16808d55403e06110ff5a5'\
- '785d928f4ff04e06bd2c8acc6b6c5e7b' 'f2d6f905c4ce6098f6c1af77a0a4eef8'\
- 'dbde79bc104a2caa9316cc2a9df7fd25')
-sha1sums=('4758178299e09d5251b9cf20337a81cc20553d45' 'dcb39c82e7e6f4d7d6e8d0e95c661f83a2655c7f'\
- '5028318704fbc8f476f858d24b39cf454a16fe85' '0d9f58703d2eb4ce2d11f42a1ad01d958efe3312'\
- '31ab682733b096b3a98c0a35f9b54a7936e480d5')
+source=(http://www.kraxel.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('9b3693ab26a58194e36b479bffb61ed0')
+sha1sums=('597e0953c68112bf7c363b1ccaa94e72100b116a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 < ../libpng-1.4.patch || return 1
-
-# Using source code from libjpeg 8a
- rm jpeg/*
- cp ${srcdir}/transupp.h jpeg/
- cp ${srcdir}/transupp.c jpeg/
- cp ${srcdir}/jinclude.h jpeg/
-
- make Make.config || return 1
- for config in HAVE_LIB{SANE,CURL,LIRC}; do
- sed -i "s/$config.*/$config := no/" Make.config || return 1
- done
- make CC=gcc || return 1
- make DESTDIR="${pkgdir}" prefix=/usr install || return 1
+ sed -i 's/ungif/gif/' GNUmakefile
+ make
}
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" prefix=/usr install
+}