summaryrefslogtreecommitdiff
path: root/extra/smb4k
diff options
context:
space:
mode:
Diffstat (limited to 'extra/smb4k')
-rw-r--r--extra/smb4k/PKGBUILD15
-rw-r--r--extra/smb4k/smb4k.install11
2 files changed, 14 insertions, 12 deletions
diff --git a/extra/smb4k/PKGBUILD b/extra/smb4k/PKGBUILD
index d713ed926..7f7f32897 100644
--- a/extra/smb4k/PKGBUILD
+++ b/extra/smb4k/PKGBUILD
@@ -1,24 +1,25 @@
-# $Id: PKGBUILD 143967 2011-11-30 23:07:49Z giovanni $
+# $Id: PKGBUILD 148642 2012-02-04 23:32:14Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Emanuele Rampichini <emanuele.rampichini@gmail.com>
pkgname=smb4k
-pkgver=0.10.90
-pkgrel=2
+pkgver=1.0.0
+pkgrel=1
pkgdesc="A KDE program that browses samba shares"
arch=('i686' 'x86_64')
-url="http://smb4k.berlios.de/"
+url="http://smb4k.sourceforge.net/"
license=('GPL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4' 'docbook-xsl')
install=smb4k.install
-source=("http://downloads.sourceforge.net/project/${pkgname}/Smb4K%20%28development%20releases%29/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('6e166eead700e0a21d4f324be4471e11')
+source=("http://downloads.sourceforge.net/project/${pkgname}/Smb4K%20%28stable%20releases%29/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('d00b71aac63aa9c68e68e5980c07a01b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=RELEASE
make VERBOSE=1
}
diff --git a/extra/smb4k/smb4k.install b/extra/smb4k/smb4k.install
index 91d7da03d..1c0de2e4f 100644
--- a/extra/smb4k/smb4k.install
+++ b/extra/smb4k/smb4k.install
@@ -1,10 +1,11 @@
post_install() {
- echo "==> Note: To enable mounting and unmounting of smb/cifs shares as"
- echo "==> user, you will need to issue the following command as root:"
- echo "# chmod +s \$(which mount.cifs)"
- echo "==> These command will need to be re-run every upgrade of smbclient"
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
- post_install $1
+ post_install
+}
+
+post_remove() {
+ post_install
}