From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/xfce4-clipman-plugin/PKGBUILD | 38 ++++++++++++++++++++++ .../xfce4-clipman-plugin.install | 12 +++++++ 2 files changed, 50 insertions(+) create mode 100644 extra/xfce4-clipman-plugin/PKGBUILD create mode 100644 extra/xfce4-clipman-plugin/xfce4-clipman-plugin.install (limited to 'extra/xfce4-clipman-plugin') diff --git a/extra/xfce4-clipman-plugin/PKGBUILD b/extra/xfce4-clipman-plugin/PKGBUILD new file mode 100644 index 000000000..3629b0725 --- /dev/null +++ b/extra/xfce4-clipman-plugin/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 105771 2011-01-11 17:17:59Z andyrtr $ +# Maintainer: tobias +# Contributor: Aurelien Foret + +pkgname=xfce4-clipman-plugin +pkgver=1.1.3 +pkgrel=2 +pkgdesc="A clipboard plugin for the Xfce4 panel" +arch=(i686 x86_64) +license=('custom') +url="http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin" +groups=('xfce4-goodies') +depends=('libxfcegui4' 'xfce4-panel' 'libunique' 'hicolor-icon-theme') +makedepends=('pkgconfig' 'intltool') +options=('!libtool') +install=${pkgname}.install +source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.1/${pkgname}-${pkgver}.tar.bz2) +md5sums=('2ba70c6bd710e2a18cba5add66d297dc') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + # fix for exo 0.5.6 + sed -i -e "s/exo-0.3/exo-1/g" configure + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --disable-static \ + --enable-unique \ + --disable-debug + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING +} diff --git a/extra/xfce4-clipman-plugin/xfce4-clipman-plugin.install b/extra/xfce4-clipman-plugin/xfce4-clipman-plugin.install new file mode 100644 index 000000000..fee9e5d11 --- /dev/null +++ b/extra/xfce4-clipman-plugin/xfce4-clipman-plugin.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + -- cgit v1.2.3-54-g00ecf