diff options
Diffstat (limited to 'extra/xfce4-notes-plugin')
-rw-r--r-- | extra/xfce4-notes-plugin/PKGBUILD | 34 | ||||
-rw-r--r-- | extra/xfce4-notes-plugin/xfce4-notes-plugin.install | 12 |
2 files changed, 46 insertions, 0 deletions
diff --git a/extra/xfce4-notes-plugin/PKGBUILD b/extra/xfce4-notes-plugin/PKGBUILD new file mode 100644 index 000000000..889e1ac02 --- /dev/null +++ b/extra/xfce4-notes-plugin/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 104757 2011-01-04 20:53:16Z andyrtr $ +# Maintainer: Andreas Radke <andyrtr at archlinux.org> +# Contributor: Ben Mazer <contrasutra@myrealbox.com> + +pkgname=xfce4-notes-plugin +pkgver=1.7.7 +pkgrel=2 +pkgdesc="A notes plugin for the Xfce4 panel" +arch=('i686' 'x86_64') +license=('GPL2') +url="http://xfce-goodies.berlios.de/" +groups=('xfce4-goodies') +depends=('xfce4-panel>=4.7.0' 'libxfcegui4' 'libunique' 'hicolor-icon-theme') +makedepends=('intltool') +options=('!libtool') +install=${pkgname}.install +source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.7/${pkgname}-${pkgver}.tar.bz2) +md5sums=('42b924b23f2fec6a1099e9b7a87db4a3') + +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 +} diff --git a/extra/xfce4-notes-plugin/xfce4-notes-plugin.install b/extra/xfce4-notes-plugin/xfce4-notes-plugin.install new file mode 100644 index 000000000..fee9e5d11 --- /dev/null +++ b/extra/xfce4-notes-plugin/xfce4-notes-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 +} + |