summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2bd1673062c95dc736c7822a8cf614304cdca397 (plain)
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
# Maintainer:  twa022 <twa022 at gmail dot com>

_pkgname=catfish
pkgname=${_pkgname}-devel
pkgver=4.15.0
pkgrel=1
pkgdesc='Versatile file searching tool (development release)'
arch=('any')
url='https://docs.xfce.org/apps/catfish/start'
license=('GPL')
install="${_pkgname}.install"
depends=('gtk3' 'python-cairo' 'python-gobject' 'python-pexpect'
         'python-ptyprocess' 'python-xdg' 'xdg-utils' 'python-dbus' 'xfconf>=4.14.0')
makedepends=('intltool' 'python-distutils-extra')
optdepends=('mlocate: filename search'
            'zeitgeist: integration with zeitgeist')
provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}")
source=("https://archive.xfce.org/src/apps/${_pkgname}/${pkgver%.*}/${_pkgname}-${pkgver}.tar.bz2")
sha256sums=('cefc43d091c719690d0c4ad259a757c89038ccdf290626674f54b1b1ea9cefbe')

build() {
  cd "${_pkgname}-${pkgver}"
  python setup.py build
}

package () {
  cd "${_pkgname}-${pkgver}"
  python setup.py install --root="$pkgdir" --optimize=1
  install -d "${pkgdir}/usr/share/pixmaps"
  ln -s "/usr/share/icons/hicolor/scalable/apps/org.xfce.${_pkgname}.svg" \
    "${pkgdir}/usr/share/pixmaps/org.xfce.${_pkgname}.svg"
}