summaryrefslogtreecommitdiff
path: root/extra/kdenetwork-filesharing/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdenetwork-filesharing/PKGBUILD')
-rw-r--r--extra/kdenetwork-filesharing/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/kdenetwork-filesharing/PKGBUILD b/extra/kdenetwork-filesharing/PKGBUILD
new file mode 100644
index 000000000..cf7f0b538
--- /dev/null
+++ b/extra/kdenetwork-filesharing/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdenetwork-filesharing
+pkgver=4.11.0
+pkgrel=1
+pkgdesc='Properties dialog plugin to share a directory with the local network'
+url='https://projects.kde.org/projects/kde/kdenetwork/kdenetwork-filesharing'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdenetwork')
+depends=('kdebase-runtime' 'smbclient')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kdenetwork-filesharing-${pkgver}.tar.xz")
+sha1sums=('02fb41306fb3bc6b42d3c478665a8df5958d0268')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kdenetwork-filesharing-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR=$pkgdir install
+}