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

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 21:13:05 UTC 2018


    Date: Friday, November 9, 2018 @ 21:13:04
  Author: foutrelis
Revision: 338538

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 338537, xfce4-smartbookmark-plugin/trunk/PKGBUILD)
  xfce4-smartbookmark-plugin/repos/staging-x86_64/xfce4-smartbookmark-plugin-archlinux.patch
    (from rev 338537, 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 338537, xfce4-smartbookmark-plugin/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-09 21:13:04 UTC (rev 338538)
@@ -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.0
+pkgrel=2
+pkgdesc="Plugin for the Xfce4 panel that lets you quicksearch from selected websites"
+arch=('x86_64')
+url="http://goodies.xfce.org/projects/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=('139539c58d54d878de86ef8a882c793cd909981e6b888f7f9d5e230a8fe310a4'
+            '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 338537, 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	2018-11-09 21:13:04 UTC (rev 338538)
@@ -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