[arch-commits] Commit in catfish/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Mon Sep 1 15:25:07 UTC 2014
Date: Monday, September 1, 2014 @ 17:25:06
Author: arodseth
Revision: 118137
upgpkg: catfish 1.2.1-1
Modified:
catfish/trunk/PKGBUILD
----------+
PKGBUILD | 40 +++++++++++++++++++++-------------------
1 file changed, 21 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-01 13:52:29 UTC (rev 118136)
+++ PKGBUILD 2014-09-01 15:25:06 UTC (rev 118137)
@@ -1,44 +1,46 @@
# $Id$
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=catfish
-pkgver=1.0.2
+pkgver=1.2.1
pkgrel=1
pkgdesc='Versatile file searching tool'
arch=('any')
url='https://launchpad.net/catfish-search'
license=('GPL')
-install=$pkgname.install
+install="$pkgname.install"
depends=('gtk3' 'python2-gobject' 'python2-xdg' 'xdg-utils' 'python2-pexpect')
makedepends=('intltool')
-optdepends=('zeitgeist: Zeitgeist integration'
+optdepends=('zeitgeist: integration with zeitgeist'
'findutils: filename search'
- 'mlocate: filename search'
- 'tracker: fulltext search'
- 'strigi: fulltext search'
- 'pinot: fulltext search')
-source=(https://launchpad.net/catfish-search/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.bz2)
-md5sums=('7ea70b46ec98a4d1fc2a06bf2579acb2')
+ 'mlocate: filename search'
+ 'tracker: fulltext search'
+ 'strigi: fulltext search'
+ 'pinot: fulltext search')
+source=("https://launchpad.net/catfish-search/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.bz2")
+sha256sums=('07e30223d5fed47e78768fad7860e2b56ec35661ec98dfa8323c5f83753cca16')
prepare() {
- cd $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
+
sed -i '1s/python/python2/' {bin,catfish,catfish_lib}/*.py build.py
sed -i 's|ln -sf $(PREFIX)/share|ln -sf ..|' Makefile.in.in
}
build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr \
- --python=python2
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --python=python2
make
}
package () {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
install -d "$pkgdir"/usr/share/pixmaps
- ln -s ../icons/hicolor/scalable/apps/$pkgname.svg \
- "$pkgdir"/usr/share/pixmaps/$pkgname.svg
+ ln -s "/usr/share/icons/hicolor/scalable/apps/$pkgname.svg" \
+ "$pkgdir/usr/share/pixmaps/$pkgname.svg"
}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list