[arch-commits] Commit in xfce4-smartbookmark-plugin/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:03:16 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:03:15
  Author: felixonmars
Revision: 386131

archrelease: copy trunk to staging-x86_64

Added:
  xfce4-smartbookmark-plugin/repos/staging-x86_64/
  xfce4-smartbookmark-plugin/repos/staging-x86_64/PKGBUILD
    (from rev 386127, xfce4-smartbookmark-plugin/trunk/PKGBUILD)
  xfce4-smartbookmark-plugin/repos/staging-x86_64/xfce4-smartbookmark-plugin-archlinux.patch
    (from rev 386128, xfce4-smartbookmark-plugin/trunk/xfce4-smartbookmark-plugin-archlinux.patch)

--------------------------------------------+
 PKGBUILD                                   |   44 +++++++++++++++++++++++++++
 xfce4-smartbookmark-plugin-archlinux.patch |   24 ++++++++++++++
 2 files changed, 68 insertions(+)

Copied: xfce4-smartbookmark-plugin/repos/staging-x86_64/PKGBUILD (from rev 386127, xfce4-smartbookmark-plugin/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:03:15 UTC (rev 386131)
@@ -0,0 +1,44 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Tobias Kieslich <tobias (at) archlinux.org>
+
+pkgname=xfce4-smartbookmark-plugin
+pkgver=0.5.1
+pkgrel=2
+pkgdesc="Plugin for the Xfce4 panel that lets you quicksearch from selected websites"
+arch=('x86_64')
+url="https://docs.xfce.org/panel-plugins/xfce4-smartbookmark-plugin"
+license=('GPL2')
+groups=('xfce4-goodies')
+depends=('xfce4-panel')
+makedepends=('intltool' 'libxt')
+source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+        xfce4-smartbookmark-plugin-archlinux.patch)
+sha256sums=('3e28fb7cd2e2251e89a8715684081b862406e3fb4e6d8c0caa1b798a97703600'
+            '61f35a8e93f1aaf7f46b2c90af9788155bea67f045185d74c6b384a97deeacab')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  patch -Np0 -i "$srcdir/xfce4-smartbookmark-plugin-archlinux.patch"
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --disable-static \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: xfce4-smartbookmark-plugin/repos/staging-x86_64/xfce4-smartbookmark-plugin-archlinux.patch (from rev 386128, xfce4-smartbookmark-plugin/trunk/xfce4-smartbookmark-plugin-archlinux.patch)
===================================================================
--- staging-x86_64/xfce4-smartbookmark-plugin-archlinux.patch	                        (rev 0)
+++ staging-x86_64/xfce4-smartbookmark-plugin-archlinux.patch	2020-05-19 08:03:15 UTC (rev 386131)
@@ -0,0 +1,24 @@
+--- src/smartbookmark.c.redhat	2006-12-18 02:06:21.000000000 +0100
++++ src/smartbookmark.c	2006-12-18 02:11:33.000000000 +0100
+@@ -197,8 +197,8 @@
+     box = gtk_vbox_new(FALSE, 0);
+ 
+     /* default options */
+-    search->url = "http://bugs.debian.org/";
+-    search->label_text = "BTS";
++    search->url = "https://bugs.archlinux.org/";
++    search->label_text = "ArchBug #";
+     search->size = 5;
+     search->hide_label = FALSE;
+     /* read config file options */
+@@ -269,8 +269,8 @@
+     if( (rcfile = xfce_rc_simple_open(filename, TRUE) ))
+     {
+         xfce_rc_set_group(rcfile, NULL);
+-        search->url = g_strdup(xfce_rc_read_entry(rcfile,"url","http://bugs.debian.org/"));
+-        search->label_text = g_strdup(xfce_rc_read_entry(rcfile,"value","DBS"));
++        search->url = g_strdup(xfce_rc_read_entry(rcfile,"url","https://bugs.archlinux.org/"));
++        search->label_text = g_strdup(xfce_rc_read_entry(rcfile,"value","ArchBug #"));
+         search->size = xfce_rc_read_int_entry(rcfile, "size", 5);
+         search->hide_label = xfce_rc_read_bool_entry(rcfile, "hidelabel", FALSE);
+     }



More information about the arch-commits mailing list