Advertisement
Guest User

gloobus-preview PKGBUILD

a guest
Oct 7th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.08 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement