[arch-commits] Commit in catfish/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sun Sep 13 17:19:20 UTC 2015
Date: Sunday, September 13, 2015 @ 19:19:19
Author: arodseth
Revision: 140061
upgpkg: catfish 1.3.1-2
Modified:
catfish/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-13 17:18:33 UTC (rev 140060)
+++ PKGBUILD 2015-09-13 17:19:19 UTC (rev 140061)
@@ -6,17 +6,16 @@
pkgname=catfish
pkgver=1.3.1
-pkgrel=1
+pkgrel=2
pkgdesc='Versatile file searching tool'
arch=('any')
url='https://launchpad.net/catfish-search'
license=('GPL')
install="$pkgname.install"
-depends=('gtk3' 'python2-gobject' 'python2-xdg' 'xdg-utils' 'python2-pexpect')
+depends=('gtk3' 'mlocate' 'python-gobject' 'python-xdg' 'xdg-utils' 'python-pexpect')
makedepends=('intltool')
optdepends=('zeitgeist: integration with zeitgeist'
'findutils: filename search'
- 'mlocate: filename search'
'tracker: fulltext search'
'strigi: fulltext search'
'pinot: fulltext search')
@@ -26,7 +25,6 @@
prepare() {
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
}
@@ -33,12 +31,13 @@
build() {
cd "$pkgname-$pkgver"
- ./configure --prefix=/usr --python=python2
+ ./configure --prefix=/usr
make
}
package () {
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
install -d "$pkgdir"/usr/share/pixmaps
ln -s "/usr/share/icons/hicolor/scalable/apps/$pkgname.svg" \
"$pkgdir/usr/share/pixmaps/$pkgname.svg"
More information about the arch-commits
mailing list