diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/recoll |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/recoll')
-rw-r--r-- | community/recoll/PKGBUILD | 50 | ||||
-rw-r--r-- | community/recoll/recoll.install | 11 |
2 files changed, 61 insertions, 0 deletions
diff --git a/community/recoll/PKGBUILD b/community/recoll/PKGBUILD new file mode 100644 index 000000000..3c892d148 --- /dev/null +++ b/community/recoll/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 41903 2011-03-10 21:36:50Z ebelanger $ +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Vladimir Chizhov <jagoterr@gmail.com> +# Contributor: Robert Emil Berge <filoktetes@linuxophic.org> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=recoll +pkgver=1.15.7 +pkgrel=1 +pkgdesc="Full text search tool based on Xapian backend" +arch=('i686' 'x86_64') +url="http://www.lesbonscomptes.com/recoll/" +license=('GPL') +depends=('xapian-core>=1.0.15-1' 'qt' 'openssl' 'hicolor-icon-theme') +optdepends=('unzip: for the OpenOffice.org documents' + 'xpdf: for pdf' + 'pstotext: for postscipt' + 'antiword: for msword' + 'catdoc: for ms excel and powerpoint' + 'unrtf: for RTF' + 'tetex: for dvi support with dvips' + 'djvulibre: for djvu' + 'id3lib: for mp3 tags support with id3info' + 'python2: for using some filters') +install=recoll.install +source=(http://www.lesbonscomptes.com/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('649ebef60a1920dc2a195211993b3489') +sha1sums=('2494d71e4218df5a7e6a9715ef8dcee82e977ff8') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # python2 fix + for file in filters/{rclchm,rclexecm.py,rclics,rclpython,rclzip,rclaudio,rclinfo,rclkar,rcllatinclass.py} doc/user/usermanual.html; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' desktop/hotrecoll.py + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} diff --git a/community/recoll/recoll.install b/community/recoll/recoll.install new file mode 100644 index 000000000..0fbb3047a --- /dev/null +++ b/community/recoll/recoll.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} |