summaryrefslogtreecommitdiff
path: root/community/recoll
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-08 00:01:27 +0000
committerroot <root@rshg054.dnsready.net>2012-03-08 00:01:27 +0000
commit718c8e57ef26498cff228de3de92bf5c8a3f6343 (patch)
treebff46acd12c91eafe51a7feebb7f840e9834cc0e /community/recoll
parent5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 (diff)
Thu Mar 8 00:01:27 UTC 2012
Diffstat (limited to 'community/recoll')
-rw-r--r--community/recoll/PKGBUILD32
-rw-r--r--community/recoll/recoll.install10
2 files changed, 23 insertions, 19 deletions
diff --git a/community/recoll/PKGBUILD b/community/recoll/PKGBUILD
index 18bf8820e..f9f42c0d9 100644
--- a/community/recoll/PKGBUILD
+++ b/community/recoll/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 59455 2011-11-25 11:15:21Z spupykin $
+# $Id: PKGBUILD 67278 2012-03-06 10:44:14Z arodseth $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# 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.16.2
-pkgrel=1
+pkgrel=2
pkgdesc="Full text search tool based on Xapian backend"
-arch=('i686' 'x86_64')
+arch=('x86_64' 'i686')
url="http://www.lesbonscomptes.com/recoll/"
license=('GPL')
depends=('xapian-core>=1.0.15-1' 'qt' 'openssl' 'hicolor-icon-theme')
@@ -25,30 +25,32 @@ optdepends=('libxslt: for XML based formats (fb2,etc)'
'id3lib: for mp3 tags support with id3info'
'python2: for using some filters'
'mutagen: Audio metadata'
- 'python-pychm: CHM files'
- 'perl-exiftool: EXIF data from raw files'
+ 'python2-pychm: CHM files'
+ 'perl-image-exiftool: EXIF data from raw files'
'aspell-en: English stemming support')
install=recoll.install
-source=(http://www.lesbonscomptes.com/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('1bbe35a1c0fb248d1c5b3a4c3ed20d1c')
+source=("http://www.lesbonscomptes.com/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('f0f29dff2d82ef8541c51963870f31daf28472f3c8822c81c17c346769b77355')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ 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
+ msg2 "Python2 fix"
+ for file in filters/{rclchm,rclexecm.py,rclics,rclpython,rclzip,rclaudio,rclinfo,rclkar,rcllatinclass.py,rclwar,rclrar} 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
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/recoll/recoll.install b/community/recoll/recoll.install
index 0fbb3047a..a89ee4bf0 100644
--- a/community/recoll/recoll.install
+++ b/community/recoll/recoll.install
@@ -1,11 +1,13 @@
-post_install() {
+post_upgrade() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
-post_upgrade() {
- post_install
+post_install() {
+ post_upgrade
}
post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ post_upgrade
}
+
+# vim:set ts=2 sw=2 et: