diff options
author | Steven Honeyman | 2015-06-09 19:10:30 +0100 |
---|---|---|
committer | Steven Honeyman | 2015-06-09 19:10:30 +0100 |
commit | 83af6cf48f08cdcfae24176ccdbd4206e79a4d17 (patch) | |
tree | bf446fb2a2e401a54e4437ec7733d06d8626efe5 | |
download | aur-83af6cf48f08cdcfae24176ccdbd4206e79a4d17.tar.gz |
Initial import
-rw-r--r-- | .AURINFO | 21 | ||||
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 45 | ||||
-rw-r--r-- | install | 22 |
4 files changed, 110 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 00000000000..5611c3aff10 --- /dev/null +++ b/.AURINFO @@ -0,0 +1,21 @@ +pkgbase = fim + pkgdesc = Highly customizable and scriptable framebuffer image viewer based on fbi. + pkgver = 0.4 + pkgrel = 9 + url = https://www.autistici.org/dezperado/fim/ + install = install + arch = i686 + arch = x86_64 + license = GPL + depends = giflib + depends = libjpeg-turbo + optdepends = djvulibre: djvu support + optdepends = libspectre: postscript support + optdepends = sdl: X support + optdepends = poppler: PDF support + conflicts = fim-svn + source = http://download.savannah.gnu.org/releases/fbi-improved/fim-0.4-rc1.tar.bz2 + options = !makeflags + +pkgname = fim + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..6bd55736d5c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = fim + pkgdesc = Highly customizable and scriptable framebuffer image viewer based on fbi. + pkgver = 0.4 + pkgrel = 9 + url = https://www.autistici.org/dezperado/fim/ + install = install + arch = i686 + arch = x86_64 + license = GPL + depends = giflib + depends = libjpeg-turbo + optdepends = djvulibre: djvu support + optdepends = libspectre: postscript support + optdepends = sdl: X support + optdepends = poppler: PDF support + conflicts = fim-svn + options = !makeflags + source = http://download.savannah.gnu.org/releases/fbi-improved/fim-0.4-rc1.tar.bz2 + md5sums = 4aea815884ba98a3d2efe7263351b848 + +pkgname = fim + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..3647fe3d0c8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Steven Honeyman <stevenhoneyman at gmail com> +# Contributor: Alexej Magura <agm2819*gmail*> +# Contributor: Dragonlord <dragonlord[at]seznam[.]cz> +# Contributor: daniel <quite a hack org> + +pkgname=fim +_pkgname='rc1' +pkgver=0.4 +pkgrel=9 +pkgdesc="Highly customizable and scriptable framebuffer image viewer based on fbi." +arch=('i686' 'x86_64') +conflicts=('fim-svn') +url="https://www.autistici.org/dezperado/fim/" +license=('GPL') +optdepends=('djvulibre: djvu support' + 'libspectre: postscript support' + 'sdl: X support' + 'poppler: PDF support') +depends=('giflib' 'libjpeg-turbo') + +# It doesn't like to be parallel built +options=(!makeflags) +install=install +source=("http://download.savannah.gnu.org/releases/fbi-improved/$pkgname-$pkgver-${_pkgname}.tar.bz2") +md5sums=('4aea815884ba98a3d2efe7263351b848') + +prepare() { + cd "$srcdir/$pkgname-$pkgver-$_pkgname" + sed -i -e 's#\(DGifCloseFile(h->gif\));#\1, \&h->ErrorCode);#' \ + -e 's#char .Err#const &#' src/FbiStuffGif.cpp +} + +build() { + cd "$srcdir/$pkgname-$pkgver-$_pkgname" + ./configure --prefix=/usr --disable-debug --enable-unicode --enable-hardcoded-font \ + --enable-recursive-dirs --disable-xcftopnm --disable-inkscape \ + --disable-xfig --disable-dia --disable-imlib2 + + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver-$_pkgname" + make DESTDIR=$pkgdir install +} diff --git a/install b/install new file mode 100644 index 00000000000..cb729b86ac6 --- /dev/null +++ b/install @@ -0,0 +1,22 @@ +post_install() { + cat <<EOF +==> NOTE: If you already have FBFONT exported correctly, you can disregard this +==> message. +==> +==> To get fim to work after you've installed it, place the following export in +==> your ~/.profile file: +==> +==> export FBFONT=/usr/share/kbd/consolefonts/ter-216n.psf.gz +==> +==> Once you've done that logout and log back in to get your ~/.profile file +==> read and the FBFONT variable exported. +==> +==> NOTE: If you place this export in your ~/.zshrc or your ~/.bashrc file, you +==> don't need to logout. Simply starting a new session of your shell-of-choice +==> will do the trick. +EOF +} + +post_upgrade() { + post_install +} |