summaryrefslogtreecommitdiff
path: root/testing/kdeplasma-applets-networkmanagement/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kdeplasma-applets-networkmanagement/PKGBUILD')
-rw-r--r--testing/kdeplasma-applets-networkmanagement/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/kdeplasma-applets-networkmanagement/PKGBUILD b/testing/kdeplasma-applets-networkmanagement/PKGBUILD
new file mode 100644
index 000000000..e609c334b
--- /dev/null
+++ b/testing/kdeplasma-applets-networkmanagement/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 105813 2011-01-12 00:25:58Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Jakub Schmidtke <sjakub-at-gmail.com>
+
+pkgname=kdeplasma-applets-networkmanagement
+epoch=1
+pkgver=git20110610
+_commit=0c83d81a374ac56538b1f6257215c81478888333
+pkgrel=1
+pkgdesc="KDE control panel and widget network connections"
+arch=('i686' 'x86_64')
+url="http://www.kde.org/"
+license=('GPL')
+depends=('kdebase-workspace' 'networkmanager')
+makedepends=('cmake' 'python2' 'automoc4' 'mobile-broadband-provider-info')
+optdepends=('mobile-broadband-provider-info: allow to add new mobile connection')
+install=${pkgname}.install
+source=("${pkgname}-${pkgver}.tar.gz"::"http://quickgit.kde.org/?p=networkmanagement.git&a=snapshot&h=${_commit}")
+md5sums=('23e6c100571c23b58ba557b7a28dd053')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../networkmanagement \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d
+ make
+}
+
+package() {
+ cd ${srcdir}/build
+ make DESTDIR=${pkgdir} install
+}