summaryrefslogtreecommitdiff
path: root/extra/thunar-archive-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'extra/thunar-archive-plugin')
-rw-r--r--extra/thunar-archive-plugin/PKGBUILD37
-rw-r--r--extra/thunar-archive-plugin/thunar-archive-plugin.install6
2 files changed, 24 insertions, 19 deletions
diff --git a/extra/thunar-archive-plugin/PKGBUILD b/extra/thunar-archive-plugin/PKGBUILD
index eb27f8f03..de1880a4c 100644
--- a/extra/thunar-archive-plugin/PKGBUILD
+++ b/extra/thunar-archive-plugin/PKGBUILD
@@ -1,33 +1,36 @@
-# $Id: PKGBUILD 107340 2011-01-23 18:55:43Z andyrtr $
-# Maintainer: AndyRTR <andyrtr@archlinux.org>
+# $Id: PKGBUILD 149175 2012-02-06 06:27:04Z foutrelis $
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Tobias Kieslich <tobias (at) archlinux.org>
pkgname=thunar-archive-plugin
pkgver=0.3.0
-pkgrel=1
-pkgdesc="create and deflate archives in thunar"
-arch=(i686 x86_64 'mips64el')
-license=('GPL2')
+pkgrel=2
+pkgdesc="Create and deflate archives in thunar"
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
+license=('GPL2')
groups=('xfce4-goodies')
-depends=('thunar>=1.2.0' 'hicolor-icon-theme')
+depends=('thunar' 'hicolor-icon-theme')
makedepends=('intltool')
options=('!libtool')
-install=${pkgname}.install
-source=(http://archive.xfce.org/src/thunar-plugins/${pkgname}/0.3/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('afeb3f1c65a4529dbdadc6e7b349a712')
+install=$pkgname.install
+source=(http://archive.xfce.org/src/thunar-plugins/$pkgname/0.3/$pkgname-$pkgver.tar.bz2)
+sha256sums=('74be7c6e242ba240b9477e9cf4ccc9190769c2717c5b5bf26788d1847adaf896')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "$srcdir/$pkgname-$pkgver"
+
./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/xfce4 \
- --localstatedir=/var \
- --disable-static
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/xfce4 \
+ --localstatedir=/var \
+ --disable-static
make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/extra/thunar-archive-plugin/thunar-archive-plugin.install b/extra/thunar-archive-plugin/thunar-archive-plugin.install
index 2538109de..bf6c3fe76 100644
--- a/extra/thunar-archive-plugin/thunar-archive-plugin.install
+++ b/extra/thunar-archive-plugin/thunar-archive-plugin.install
@@ -9,9 +9,11 @@ EOF
}
post_upgrade() {
- post_install $1
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ post_upgrade
}
+
+# vim:set ts=2 sw=2 et: