This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

gloobus-preview PKGBUILD

By: a guest on Oct 7th, 2012  |  syntax: Bash  |  size: 1.08 KB  |  views: 70  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
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.263
  4. _pkgver=0.4.5-ubuntu11~ppa288+1~webupd8~precise
  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}.tar.gz")
  16. md5sums=(b0963c78634425cb9ee1e4f4de670a08)
  17.  
  18. build() {
  19.   cd "${srcdir}/${pkgname}"
  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 -j8
  27. }
  28.  
  29. package() {
  30.   cd "$srcdir/$pkgname"
  31.  
  32.   make -j8 DESTDIR="$pkgdir/" install
  33. }
clone this paste RAW Paste Data