PKGBUILDs/community/catfish/PKGBUILD
2009-10-09 21:15:33 -05:00

32 lines
921 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=catfish
pkgver=0.3.2
pkgrel=2
pkgdesc="A versatile file searching tool."
arch=('i686' 'x86_64')
url="http://software.twotoasts.de/index.php?/pages/catfish_summary.html"
license=('GPL')
depends=('pygtk' 'pyxdg')
install=$pkgname.install
source=(http://www.twotoasts.de/media/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('b28db355094bfbe7de097678e91ce271')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
# Correct symlinks
sed -i 's|ln -sf $(DESTDIR)/$(PREFIX)/share|ln -sf ..|' Makefile
make || return 1
make DESTDIR=${pkgdir} install
#icon file
install -d ${pkgdir}/usr/share/pixmaps || return 1
ln -s /usr/share/icons/hicolor/scalable/apps/$pkgname.svg ${pkgdir}/usr/share/pixmaps/$pkgname.svg || return 1
}