/
PKGBUILD
43 lines (34 loc) · 1.2 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $Id: PKGBUILD 86457 2013-03-17 14:17:48Z bpiotrowski $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=catfish
pkgver=0.6.3
pkgrel=1
pkgdesc="A versatile file searching tool"
arch=('any')
url='https://launchpad.net/catfish-search'
license=('GPL')
install=$pkgname.install
depends=('gtk3' 'python-gobject' 'pyxdg' 'xdg-utils' 'hicolor-icon-theme')
makedepends=('intltool')
optdepends=('zeitgeist: Zeitgeist integration'
'findutils: filename search'
'locate: filename search'
'tracker: fulltext search'
'strigi: fulltext search'
'pinot: fulltext search')
source=(https://launchpad.net/$pkgname-search/0.6/$pkgver/+download/$pkgname-$pkgver.tar.bz2)
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
# Correct symlinks
sed -i 's|ln -sf $(DESTDIR)/$(PREFIX)/share|ln -sf ..|' Makefile
make
}
package () {
cd $srcdir/$pkgname-$pkgver
make 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
}
md5sums=('4fd496c55d9dce64f555074c478cc4dd')