# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=catfish
pkgver=1.4.9
pkgrel=0
pkgdesc="File-searching application for the XFCE desktop environment"
url="https://xfce.org"
arch="noarch"
license="GPL-2.0-only"
depends="python3 py3-pygobject py3-pexpect"
makedepends="py3-distutils-extra intltool"
subpackages="$pkgname-doc $pkgname-lang"
source="http://archive.xfce.org/src/apps/catfish/1.4/catfish-$pkgver.tar.bz2"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="c62596a09ed481eac5a4544dcfcc71c02177c115b6bf050b1f2421a575ef589c0c1569ef26d6864e472f2331f0561c7f1146c58bc7873af8036d6e7350465c3d  catfish-1.4.9.tar.bz2"