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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 16:57:42 UTC 2020


    Date: Thursday, November 12, 2020 @ 16:57:42
  Author: felixonmars
Revision: 752126

archrelease: copy trunk to community-staging-any

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

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

Copied: catfish/repos/community-staging-any/PKGBUILD (from rev 752125, catfish/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 16:57:42 UTC (rev 752126)
@@ -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.13
+pkgrel=3
+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)
+conflicts=('zeitgeist') # FS#65344
+optdepends=('mlocate: filename search')
+#            'zeitgeist: integration with zeitgeist')
+source=("git+https://git.xfce.org/apps/catfish/#commit=bd10e884b21ab3df5020a8d1c06f0011910c5ba8") # catfish-1.4.13
+sha512sums=('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 752125, catfish/trunk/catfish.install)
===================================================================
--- community-staging-any/catfish.install	                        (rev 0)
+++ community-staging-any/catfish.install	2020-11-12 16:57:42 UTC (rev 752126)
@@ -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