diff options
author | root <root@rshg054.dnsready.net> | 2012-04-30 00:01:38 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-30 00:01:38 +0000 |
commit | b7cd4b184f75d3d2b54b356e08f296df3a9afb38 (patch) | |
tree | dc5e84c1f7271cf0c8ec0221b5a22e48a884081a /testing/xfce4-smartbookmark-plugin | |
parent | 4412991f6b4fd655fc1f51f8d79a0be0c10158b7 (diff) |
Mon Apr 30 00:01:38 UTC 2012
Diffstat (limited to 'testing/xfce4-smartbookmark-plugin')
-rw-r--r-- | testing/xfce4-smartbookmark-plugin/PKGBUILD | 36 | ||||
-rw-r--r-- | testing/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-archlinux.patch | 24 |
2 files changed, 60 insertions, 0 deletions
diff --git a/testing/xfce4-smartbookmark-plugin/PKGBUILD b/testing/xfce4-smartbookmark-plugin/PKGBUILD new file mode 100644 index 000000000..45dbf913f --- /dev/null +++ b/testing/xfce4-smartbookmark-plugin/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 157703 2012-04-29 02:55:21Z foutrelis $ +# Maintainer: AndyRTR <andyrtr@archlinux.org> +# Contributor: Tobias Kieslich <tobias (at) archlinux.org> + +pkgname=xfce4-smartbookmark-plugin +pkgver=0.4.4 +pkgrel=2 +pkgdesc="Plugin for the Xfce4 panel that let you quicksearch from selected websites" +arch=('i686' 'x86_64') +license=('GPL2') +url="http://goodies.xfce.org/projects/panel-plugins/xfce4-smartbookmark-plugin" +groups=('xfce4-goodies') +depends=('xfce4-panel' 'libxfcegui4') +makedepends=('intltool' 'libxt') +options=('!libtool') +source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/0.4/${pkgname}-${pkgver}.tar.bz2 + xfce4-smartbookmark-plugin-archlinux.patch) +md5sums=('273e38306a82f14e1b8c2c5db912f6c3' + '323ac898cfcfdb078f67f9ecd1905aec') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p0 -i "${srcdir}/xfce4-smartbookmark-plugin-archlinux.patch" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --disable-static \ + --disable-debug + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-archlinux.patch b/testing/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-archlinux.patch new file mode 100644 index 000000000..45c9ad42e --- /dev/null +++ b/testing/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-archlinux.patch @@ -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 = "http://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","http://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); + } |