[arch-commits] Commit in catfish/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 4 08:37:43 UTC 2019


    Date: Monday, November 4, 2019 @ 08:37:43
  Author: foutrelis
Revision: 523782

archrelease: copy trunk to community-staging-any

Added:
  catfish/repos/community-staging-any/
  catfish/repos/community-staging-any/PKGBUILD
    (from rev 523781, catfish/trunk/PKGBUILD)
  catfish/repos/community-staging-any/catfish.install
    (from rev 523781, catfish/trunk/catfish.install)

-----------------+
 PKGBUILD        |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 catfish.install |    5 +++++
 2 files changed, 51 insertions(+)

Copied: catfish/repos/community-staging-any/PKGBUILD (from rev 523781, catfish/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 08:37:43 UTC (rev 523782)
@@ -0,0 +1,46 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk at gmail.com>
+# Contributor: Pantelis Panayiotou <p.panayiotou at gmail.com>
+# Contributor: loqs <bugs-archlinux at entropy-collector.net>
+
+pkgname=catfish
+pkgver=1.4.10
+pkgrel=2
+pkgdesc='Versatile file searching tool'
+arch=(any)
+url='https://git.xfce.org/apps/catfish/about/'
+license=(GPL)
+install=$pkgname.install
+depends=(gtk3 python-cairo python-gobject python-pexpect
+         python-ptyprocess python-xdg xdg-utils python-dbus)
+makedepends=(git intltool python-distutils-extra)
+optdepends=('mlocate: filename search'
+            'zeitgeist: integration with zeitgeist')
+source=("git+https://git.xfce.org/apps/catfish/#tag=catfish-$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  # Patch for FS#62864
+  sed -i 's/monitor_at_window(s.get_active/monitor_at_window(s.get_root/g' \
+    "$pkgname/$pkgname/CatfishWindow.py"
+}
+
+build() {
+  cd "$pkgname"
+
+  python setup.py build
+}
+
+package () {
+  cd "$pkgname"
+
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -d "$pkgdir/usr/share/pixmaps"
+  ln -s "/usr/share/icons/hicolor/scalable/apps/$pkgname.svg" \
+    "$pkgdir/usr/share/pixmaps/$pkgname.svg"
+}
+
+# getver: git.xfce.org/apps/catfish/plain/catfish.1
+# vim: ts=2 sw=2 et:

Copied: catfish/repos/community-staging-any/catfish.install (from rev 523781, catfish/trunk/catfish.install)
===================================================================
--- community-staging-any/catfish.install	                        (rev 0)
+++ community-staging-any/catfish.install	2019-11-04 08:37:43 UTC (rev 523782)
@@ -0,0 +1,5 @@
+post_install() {
+  echo 'One of the optional file search engines must be installed for catfish to work.'
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list