Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Alessio 'alexwizard' Sergi <sergi.alessio {at} gmail.com>
- pkgname=gloobus-preview-bzr
- _realname=gloobus-preview
- pkgver=213
- pkgrel=1
- pkgdesc="A quicklook for GNU/Linux"
- arch=('i686' 'x86_64')
- url="https://launchpad.net/gloobus-preview"
- license=('GPL3')
- depends=('gstreamer0.10-base' 'gtksourceview2' 'libdjvu' 'libgnomeui' \
- 'libspectre' 'poppler-glib' 'python' 'swfdec<0.9' 'taglib')
- makedepends=('bzr' 'cvs')
- optdepends=('nautilus-elementary: for GNOME integration'
- 'nautilus-actions: for GNOME menu integration'
- 'gdk-pixbuf-psd: for psd file format support'
- 'gdk-pixbuf-xcf: for xcf file format support'
- 'libicns: for icns file format support'
- 'unoconv: for OOo file formats support')
- provides=(${_realname})
- conflicts=(${_realname})
- options=('!libtool')
- install=${pkgname}.install
- source=(noloaders.patch)
- md5sums=('c6e02c36728c7fc3cf3b1fc7b9116930')
- _bzrbranch=lp:${_realname}
- _bzrmod=${_realname}
- build() {
- cd ${srcdir}
- msg "Connecting to the server...."
- if [ ! -d ${_bzrmod} ]; then
- bzr co ${_bzrbranch} ${_bzrmod}
- else
- bzr up ${_bzrmod}
- fi
- msg "BZR checkout done or server timeout"
- msg "Starting make..."
- rm -rf ${_bzrmod}-build
- cp -r ${_bzrmod} ${_bzrmod}-build
- cd ${_bzrmod}-build
- patch -Np1 -i ${srcdir}/noloaders.patch || return 1
- ./autogen.sh && ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
- # rm -rf ${srcdir}/${_bzrmod}-build
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement