summaryrefslogtreecommitdiff
path: root/extra/smb4k
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/smb4k
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/smb4k')
-rw-r--r--extra/smb4k/PKGBUILD29
-rw-r--r--extra/smb4k/smb4k.install14
2 files changed, 43 insertions, 0 deletions
diff --git a/extra/smb4k/PKGBUILD b/extra/smb4k/PKGBUILD
new file mode 100644
index 000000000..9d0fb81ae
--- /dev/null
+++ b/extra/smb4k/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 116040 2011-03-22 16:37:49Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Emanuele Rampichini <emanuele.rampichini@gmail.com>
+
+pkgname=smb4k
+pkgver=0.10.10
+pkgrel=1
+pkgdesc="A KDE program that browses samba shares"
+arch=('i686' 'x86_64')
+url="http://smb4k.berlios.de/"
+license=('GPL')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4' 'docbook-xsl')
+install=smb4k.install
+source=("http://download.berlios.de/smb4k/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('637ca913ffe9ac24a4dd09d4eddf0dcf')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE
+ make VERBOSE=1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/extra/smb4k/smb4k.install b/extra/smb4k/smb4k.install
new file mode 100644
index 000000000..c5e097f49
--- /dev/null
+++ b/extra/smb4k/smb4k.install
@@ -0,0 +1,14 @@
+# $Id: smb4k.install,v 1.2 2009/02/23 03:09:26 travis Exp $
+# arg 1: the new package version
+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) \$(which umount.cifs)"
+ echo "==> These command will need to be re-run every upgrade of smbclient"
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install $1
+}