Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for gloobus-preview-0.4.5.290

By: a guest on Feb 21st, 2013  |  syntax: Bash  |  size: 1.09 KB  |  views: 65  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: György Balló <ballogy@freestart.hu>
  2. pkgname=gloobus-preview
  3. pkgver=0.4.5.290
  4. _pkgver=0.4.5-ubuntu11~ppa290
  5. pkgrel=1
  6. pkgdesc="An extension of Gnome designed to enable a full screen preview of any kind of file"
  7. arch=(i686 x86_64)
  8. url="http://gloobus.net/"
  9. license=(GPL)
  10. depends=(gtksourceview2 gstreamer0.10-base-plugins poppler-glib libspectre djvulibre taglib python2-gconf xdg-utils)
  11. makedepends=(bzr automake libtool coreutils gcc)
  12. optdepends=('unoconv: preview LibreOffice compatible documents')
  13. options=(!libtool)
  14. install="${pkgname}.install"
  15. source=("https://launchpad.net/~gloobus-dev/+archive/${pkgname}/+files/${pkgname}_${_pkgver}.orig.tar.xz")
  16. md5sums=('27b3db2043ecaf47fa928940bbb4f32a')
  17.  
  18. build() {
  19.   cd "${srcdir}/${pkgname}-${_pkgver}"
  20.   sed -i 's@^#!.*python$@#!/usr/bin/python2@' src/gloobus-preview-configuration
  21.  
  22.   # Disable failing on warnings
  23.   sed -i 's/ -Werror//g' configure.ac
  24.  
  25.   ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  26.   make
  27. }
  28.  
  29. package() {
  30.   cd "${srcdir}/${pkgname}-${_pkgver}"
  31.   make DESTDIR="$pkgdir/" install
  32. }