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/thunar-volman/PKGBUILD | 34 +++++++++++++++++++++++++++++++ extra/thunar-volman/thunar-volman.install | 11 ++++++++++ 2 files changed, 45 insertions(+) create mode 100644 extra/thunar-volman/PKGBUILD create mode 100644 extra/thunar-volman/thunar-volman.install (limited to 'extra/thunar-volman') diff --git a/extra/thunar-volman/PKGBUILD b/extra/thunar-volman/PKGBUILD new file mode 100644 index 000000000..8679d8273 --- /dev/null +++ b/extra/thunar-volman/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 112913 2011-03-07 18:34:43Z andyrtr $ +# Maintainer: AndyRTR +# Contributor: Tobias Kieslich + +pkgname=thunar-volman +pkgver=0.6.0 +pkgrel=2 +pkgdesc="automatic management for removeable devices in thunar" +arch=('i686' 'x86_64') +license=('GPL2') +url="http://foo-projects.org/~benny/projects/thunar-volman" +groups=('xfce4-goodies') +depends=('thunar>=1.2.0' 'libxfce4ui' 'hicolor-icon-theme') +makedepends=('intltool') +options=('!libtool') +install=${pkgname}.install +source=(http://archive.xfce.org/src/apps/${pkgname}/0.6/${pkgname}-${pkgver}.tar.bz2) +md5sums=('2f166662dd100d5195da238af417f305') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/xfce4 \ + --localstatedir=/var \ + --disable-static \ + --disable-debug + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} diff --git a/extra/thunar-volman/thunar-volman.install b/extra/thunar-volman/thunar-volman.install new file mode 100644 index 000000000..21b79d2d4 --- /dev/null +++ b/extra/thunar-volman/thunar-volman.install @@ -0,0 +1,11 @@ +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