summaryrefslogtreecommitdiff
path: root/extra/xfce4-smartbookmark-plugin/PKGBUILD
blob: 8493b93ea9dc0228b5ed2a516a54acd7732fe598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $Id: PKGBUILD 108103 2011-01-29 13:18:03Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Tobias Kieslich <tobias (at) archlinux.org>

pkgname=xfce4-smartbookmark-plugin
pkgver=0.4.2
pkgrel=9
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' 'xfce4-dev-tools')
options=('!libtool')
source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/0.4/${pkgname}-${pkgver}.tar.gz
	xfce4-smartbookmark-plugin-archlinux.patch
	0001-Fix-problems-with-plugin-and-4.8-panel.patch)
md5sums=('284e26595637dd2e900b75534372496b'
         '323ac898cfcfdb078f67f9ecd1905aec'
         '6dc220fc41cd21678aad62c80a4c622f')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  # fix panel4.8  http://bugzilla.xfce.org/show_bug.cgi
  patch -Np1 -i ${srcdir}/0001-Fix-problems-with-plugin-and-4.8-panel.patch
  patch -Np0 -i ${srcdir}/xfce4-smartbookmark-plugin-archlinux.patch
  xdt-autogen
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib \
	--localstatedir=/var \
	--disable-static \
	--disable-debug
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}