From 1a5578dd73c11708216a72aa5f3da16121663595 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Thu, 30 Jan 2014 17:46:13 +0400 Subject: [PATCH] edited before renaming --- PKGBUILD | 8 ++++---- create_archive.sh | 2 +- ...onitor.install => kdeplasma-applets-netctl.install | 0 sources/CMakeLists.txt | 11 +++++------ .../{netctl-dataengine => dataengine}/CMakeLists.txt | 2 +- sources/{netctl-gui => gui}/CMakeLists.txt | 0 sources/{netctl-gui => gui}/src/CMakeLists.txt | 0 sources/{netctl-monitor => plasmoid}/CMakeLists.txt | 2 +- 8 files changed, 12 insertions(+), 13 deletions(-) rename kdeplasma-applets-netctl-monitor.install => kdeplasma-applets-netctl.install (100%) rename sources/{netctl-dataengine => dataengine}/CMakeLists.txt (94%) rename sources/{netctl-gui => gui}/CMakeLists.txt (100%) rename sources/{netctl-gui => gui}/src/CMakeLists.txt (100%) rename sources/{netctl-monitor => plasmoid}/CMakeLists.txt (95%) diff --git a/PKGBUILD b/PKGBUILD index 9307d3a..46ec667 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,16 +1,16 @@ # Maintainer: Evgeniy "arcanis" Alexeev -pkgname=kdeplasma-applets-netctl-monitor -_pkgname=netctl-monitor +pkgname=kdeplasma-applets-netctl +_pkgname=netctl-plasmoid pkgver=1.0.0 pkgrel=1 pkgdesc="Plasmoid written on C++ which interacts with netctl" arch=('i686' 'x86_64') -url="http://arcan1s.github.io/projects/netctlmonitor" +url="http://arcan1s.github.io/projects/netctlplasmoid" license=('GPLv3') depends=('kdebase-workspace') makedepends=('cmake' 'automoc4') -source=(https://github.com/arcan1s/netctlmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz) +source=(https://github.com/arcan1s/netctlplasmoid/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz) install=${pkgname}.install md5sums=('d3ab03ddea1e4793cfc5f35a0f7a5ff1') _cmakekeys="-DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) diff --git a/create_archive.sh b/create_archive.sh index 0e62933..f96d9f3 100755 --- a/create_archive.sh +++ b/create_archive.sh @@ -1,6 +1,6 @@ #!/bin/bash -ARCHIVE="netctl-monitor" +ARCHIVE="netctl-plasmoid" SRCDIR="sources" FILES="LICENSE README.md" IGNORELIST="CMakeLists.txt.user" diff --git a/kdeplasma-applets-netctl-monitor.install b/kdeplasma-applets-netctl.install similarity index 100% rename from kdeplasma-applets-netctl-monitor.install rename to kdeplasma-applets-netctl.install diff --git a/sources/CMakeLists.txt b/sources/CMakeLists.txt index 7b19cc3..39b8edb 100644 --- a/sources/CMakeLists.txt +++ b/sources/CMakeLists.txt @@ -5,7 +5,7 @@ cmake_policy (SET CMP0002 OLD) cmake_policy (SET CMP0011 NEW) cmake_policy (SET CMP0015 NEW) -project (netctl-monitor) +project (netctl-plasmoid) set (PROJECT_VERSION_MAJOR 1) set (PROJECT_VERSION_MINOR 0) set (PROJECT_VERSION_PATCH 0) @@ -25,7 +25,7 @@ set (CMAKE_VERBOSE_MAKEFILE ON) # flags if (WITH_DEBUG_MODE) - add_definitions ( -DDEBUG_MODE=1 ) + add_definitions (-DDEBUG_MODE=1) endif () if (CMAKE_COMPILER_IS_GNUCXX) set (ADD_CXX_FLAGS "-Wall") @@ -41,12 +41,11 @@ if (BUILD_PLASMOID) endif () if (BUILD_GUI) - add_subdirectory (netctl-gui) + add_subdirectory (gui) endif () if (BUILD_DATAENGINE) - add_subdirectory (netctl-dataengine) + add_subdirectory (dataengine) endif () if (BUILD_PLASMOID) - add_subdirectory (netctl-dataengine) - add_subdirectory (netctl-monitor) + add_subdirectory (plasmoid) endif () diff --git a/sources/netctl-dataengine/CMakeLists.txt b/sources/dataengine/CMakeLists.txt similarity index 94% rename from sources/netctl-dataengine/CMakeLists.txt rename to sources/dataengine/CMakeLists.txt index c0a2cc2..55773f6 100644 --- a/sources/netctl-dataengine/CMakeLists.txt +++ b/sources/dataengine/CMakeLists.txt @@ -1,5 +1,5 @@ # set project name -set (SUBPROJECT plasma_engine_netctl-dataengine) +set (SUBPROJECT plasma_engine_netctl) # find required libaries find_package (KDE4 REQUIRED) diff --git a/sources/netctl-gui/CMakeLists.txt b/sources/gui/CMakeLists.txt similarity index 100% rename from sources/netctl-gui/CMakeLists.txt rename to sources/gui/CMakeLists.txt diff --git a/sources/netctl-gui/src/CMakeLists.txt b/sources/gui/src/CMakeLists.txt similarity index 100% rename from sources/netctl-gui/src/CMakeLists.txt rename to sources/gui/src/CMakeLists.txt diff --git a/sources/netctl-monitor/CMakeLists.txt b/sources/plasmoid/CMakeLists.txt similarity index 95% rename from sources/netctl-monitor/CMakeLists.txt rename to sources/plasmoid/CMakeLists.txt index b80d028..a36b763 100644 --- a/sources/netctl-monitor/CMakeLists.txt +++ b/sources/plasmoid/CMakeLists.txt @@ -1,5 +1,5 @@ # set project name -set (SUBPROJECT plasma_applet_netctl-monitor) +set (SUBPROJECT plasma_applet_netctl) # find required libaries find_package (KDE4 REQUIRED)