# $Id: PKGBUILD 108103 2011-01-29 13:18:03Z andyrtr $ # Maintainer: AndyRTR # Contributor: Tobias Kieslich 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' 'mips64el') 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 }