summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2015-06-08 22:55:56 +0200
committerAntonio Rojas2015-06-08 22:55:56 +0200
commit53a3e9637b45f52d1e5efb1585f6423594ffd792 (patch)
treeb358bef274eabde21041c594b575af4df20d40e1
downloadaur-53a3e9637b45f52d1e5efb1585f6423594ffd792.tar.gz
Initial import
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD40
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..868ed062017
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = plasma-nm-git
+ pkgdesc = Plasma applet written in QML for managing network connections
+ pkgver = r1678.4d72cb7
+ pkgrel = 1
+ url = https://projects.kde.org/projects/kde/workspace/plasma-nm
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = extra-cmake-modules
+ makedepends = git
+ makedepends = kdoctools
+ makedepends = qt5-tools
+ makedepends = openconnect
+ depends = networkmanager-qt-git
+ depends = modemmanager-qt-git
+ depends = plasma-workspace-git
+ optdepends = mobile-broadband-provider-info: Database of mobile broadband service providers
+ optdepends = openconnect: Cisco AnyConnect VPN
+ provides = plasma-nm
+ conflicts = plasma-nm
+ source = git://anongit.kde.org/plasma-nm.git
+ sha256sums = SKIP
+
+pkgname = plasma-nm-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..726f7d0d4f9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=plasma-nm-git
+pkgver=r1678.4d72cb7
+pkgrel=1
+pkgdesc='Plasma applet written in QML for managing network connections'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/workspace/plasma-nm'
+license=('GPL2')
+depends=('networkmanager-qt-git' 'modemmanager-qt-git' 'plasma-workspace-git')
+makedepends=('extra-cmake-modules' 'git' 'kdoctools' 'qt5-tools' 'openconnect')
+optdepends=('mobile-broadband-provider-info: Database of mobile broadband service providers' 'openconnect: Cisco AnyConnect VPN')
+provides=('plasma-nm')
+conflicts=('plasma-nm')
+source=("git://anongit.kde.org/plasma-nm.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd plasma-nm
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../plasma-nm \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}