diff options
author | João Figueiredo | 2020-10-20 23:47:53 +0100 |
---|---|---|
committer | João Figueiredo | 2020-10-20 23:47:53 +0100 |
commit | 236c9feb013a30547642bf4e9c1d37207234b184 (patch) | |
tree | 029bbef4dcd57e68fc1a59274dce3649399d952e | |
parent | 927e8d0418fdb42876ef97ac034fa3f1fe8bfe72 (diff) | |
download | aur-236c9feb013a30547642bf4e9c1d37207234b184.tar.gz |
Split knetattach
-rw-r--r-- | .SRCINFO | 58 | ||||
-rw-r--r-- | PKGBUILD | 55 |
2 files changed, 66 insertions, 47 deletions
@@ -1,45 +1,55 @@ pkgbase = plasma-desktop-git pkgdesc = KDE Plasma Desktop - pkgver = r7717.4c4ce2dbc + pkgver = r7932.d5a68ae77 pkgrel = 1 url = https://projects.kde.org/projects/kde/kde-workspace - install = plasma-desktop-git.install arch = i686 arch = x86_64 groups = plasma license = LGPL - makedepends = xorg-server-devel - makedepends = xf86-input-synaptics makedepends = extra-cmake-modules-git - makedepends = git makedepends = kdoctools-git + makedepends = xf86-input-evdev + makedepends = xf86-input-synaptics + makedepends = xf86-input-libinput + makedepends = xorg-server-devel makedepends = scim - makedepends = libibus - makedepends = boost + makedepends = kdesignerplugin + makedepends = kaccounts-integration + makedepends = intltool + makedepends = git + depends = polkit-kde-agent-git depends = libxkbfile - depends = libcanberra + depends = kmenuedit-git depends = systemsettings-git depends = ksysguard-git - depends = kactivities-stats-git - depends = powerdevil-git - depends = kmenuedit-git - depends = kinfocenter-git - depends = polkit-kde-agent-git - depends = kpeople-git - depends = qt5-graphicaleffects - depends = packagekit-qt5 - optdepends = plasma-nm-git: Network manager applet - optdepends = scim: SCIM backend for kimpanel - optdepends = fcitx: FCITX backend for kimpanel - optdepends = libibus: IBUS backend for kimpanel + depends = baloo-git + depends = accountsservice provides = plasma-desktop + provides = knetattach conflicts = plasma-desktop - conflicts = kdebase-workspace - conflicts = kdebase-kdepasswd - conflicts = kcm-touchpad-frameworks - replaces = kcm-touchpad-git + conflicts = knetattach source = git+https://github.com/KDE/plasma-desktop.git md5sums = SKIP pkgname = plasma-desktop-git + depends = polkit-kde-agent-git + depends = libxkbfile + depends = kmenuedit-git + depends = systemsettings-git + depends = ksysguard-git + depends = baloo-git + depends = accountsservice + depends = knetattach + optdepends = plasma-nm: Network manager applet + optdepends = powerdevil: power management, suspend and hibernate support + optdepends = kscreen: screen management + optdepends = ibus: kimpanel IBUS support + optdepends = scim: kimpanel SCIM support + optdepends = kaccounts-integration: OpenDesktop integration plugin + replaces = user-manager + +pkgname = knetattach-git + pkgdesc = Wizard which makes it easier to integrate network resources with the Plasma Desktop + depends = kdelibs4support-git @@ -1,24 +1,20 @@ # Maintainer: João Figueiredo <jf dot mundox at gmail dot com> # Contributor: Antonio Rojas <arojas@archlinux.org> -pkgname=plasma-desktop-git -pkgver=r7717.4c4ce2dbc +pkgbase=plasma-desktop-git +pkgname=(plasma-desktop-git knetattach-git) +pkgver=r7932.d5a68ae77 pkgrel=1 pkgdesc='KDE Plasma Desktop' arch=(i686 x86_64) url='https://projects.kde.org/projects/kde/kde-workspace' license=(LGPL) -depends=(libxkbfile libcanberra systemsettings-git ksysguard-git kactivities-stats-git -powerdevil-git kmenuedit-git kinfocenter-git polkit-kde-agent-git kpeople-git qt5-graphicaleffects packagekit-qt5) -makedepends=(xorg-server-devel xf86-input-synaptics extra-cmake-modules-git git kdoctools-git scim libibus boost) -optdepends=('plasma-nm-git: Network manager applet' 'scim: SCIM backend for kimpanel' - 'fcitx: FCITX backend for kimpanel' 'libibus: IBUS backend for kimpanel') -conflicts=(plasma-desktop kdebase-workspace kdebase-kdepasswd kcm-touchpad-frameworks) -provides=(plasma-desktop) -replaces=(kcm-touchpad-git) -install=$pkgname.install -source=('git+https://github.com/KDE/plasma-desktop.git') -groups=('plasma') +depends=(polkit-kde-agent-git libxkbfile kmenuedit-git systemsettings-git ksysguard-git baloo-git accountsservice) +makedepends=(extra-cmake-modules-git kdoctools-git xf86-input-evdev xf86-input-synaptics xf86-input-libinput xorg-server-devel scim kdesignerplugin kaccounts-integration intltool git) +conflicts=(plasma-desktop knetattach) +provides=(plasma-desktop knetattach) +source=("git+https://github.com/KDE/plasma-desktop.git") +groups=(plasma) md5sums=('SKIP') pkgver() { @@ -26,22 +22,35 @@ pkgver() { printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } -prepare() { - mkdir -p build -} - build() { - cd build - cmake ../plasma-desktop \ + cmake -B build -S plasma-desktop \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_LIBEXECDIR=lib \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON - make + cmake --build build } -package() { - cd build - make DESTDIR="$pkgdir" install +package_plasma-desktop-git() { + depends+=(knetattach) + optdepends=('plasma-nm: Network manager applet' + 'powerdevil: power management, suspend and hibernate support' + 'kscreen: screen management' + 'ibus: kimpanel IBUS support' + 'scim: kimpanel SCIM support' + 'kaccounts-integration: OpenDesktop integration plugin') + replaces=(user-manager) + + DESTDIR="$pkgdir" cmake --install build + +# Split knetattach + rm "$pkgdir"/usr/{bin/knetattach,share/applications/org.kde.knetattach.desktop} +} + +package_knetattach-git() { + pkgdesc='Wizard which makes it easier to integrate network resources with the Plasma Desktop' + depends=(kdelibs4support-git) + + DESTDIR="$pkgdir" cmake --install build/knetattach } |