SHOW:
|
|
- or go back to the newest paste.
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 | } |