diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/thunar-volman |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/thunar-volman')
-rw-r--r-- | extra/thunar-volman/PKGBUILD | 34 | ||||
-rw-r--r-- | extra/thunar-volman/thunar-volman.install | 11 |
2 files changed, 45 insertions, 0 deletions
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 <andyrtr@archlinux.org> +# Contributor: Tobias Kieslich <tobias (at) archlinux.org> + +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 +} |