Package Details: kwin-scripts-krohnkite-git r409.7d1d494-1

Git Clone URL: https://aur.archlinux.org/kwin-scripts-krohnkite-git.git (read-only, click to copy)
Package Base: kwin-scripts-krohnkite-git
Description: A dynamic tiling extension for KWin
Upstream URL: https://github.com/esjeon/krohnkite.git
Licenses: MIT
Conflicts: krohnkite
Provides: krohnkite
Submitter: Teyras
Maintainer: Teyras
Last Packager: Teyras
Votes: 6
Popularity: 0.31
First Submitted: 2018-12-06 12:27
Last Updated: 2020-03-09 15:56

Required by (0)

Sources (1)

Latest Comments

CaninoDev commented on 2020-03-31 16:00

==> Making package: kwin-scripts-krohnkite-git r409.7d1d494-1 (Sun 22 Mar 2020 06:14:01 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating krohnkite git repo...
Fetching origin
==> Validating source files with md5sums...
    krohnkite ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of krohnkite git repo...
    Cloning into 'krohnkite'...
    done.
==> Starting pkgver()...
==> Sources are ready.
==> Making package: kwin-scripts-krohnkite-git r409.7d1d494-1 (Sun 22 Mar 2020 06:14:02 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
mkdir: created directory 'pkg'
mkdir: created directory 'pkg/contents'
mkdir: created directory 'pkg/contents/config'
'res/config.xml' -> 'pkg/contents/config/main.xml'
mkdir: created directory 'pkg/contents/ui'
sed "s/\$VER/0.7/" res/metadata.desktop \
        | sed "s/\$REV/7d1d494/" \
        > pkg/metadata.desktop
'res/main.qml' -> 'pkg/contents/ui/main.qml'
tsc
'res/config.ui' -> 'pkg/contents/ui/config.ui'
'res/popup.qml' -> 'pkg/contents/ui/popup.qml'
mkdir: created directory 'pkg/contents/code'
'krohnkite.js' -> 'pkg/contents/code/script.js'

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs AMD Ryzen 7 2700X Eight-Core Processor          (800F82),ASM,AES-NI)

Scanning the drive:
4 folders, 6 files, 134081 bytes (131 KiB)

Creating archive: krohnkite-0.7.kwinscript

Items to compress: 10


Files read from disk: 6
Archive size: 23715 bytes (24 KiB)
Everything is Ok
plasmapkg2 -t kwinscript -s krohnkite \
        && plasmapkg2 -u krohnkite-0.7.kwinscript \
        || plasmapkg2 -i krohnkite-0.7.kwinscript
Showing info for package: krohnkite
      Name : Krohnkite
   Comment :
    Plugin : krohnkite
    Author : Eon S. Jeon
      Path : /home/caninodev/.local/share/kwin/scripts/krohnkite/
Upgrading package from file: /home/caninodev/.cache/yay/kwin-scripts-krohnkite-git/src/krohnkite/krohnkite-0.7.kwinscript
Successfully upgraded /home/caninodev/.cache/yay/kwin-scripts-krohnkite-git/src/krohnkite/krohnkite-0.7.kwinscript
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat '/home/caninodev/.cache/yay/kwin-scripts-krohnkite-git/src/pkg/.local/share/kwin/scripts/krohnkite/.': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
Error making: kwin-scripts-krohnkite-git

CaninoDev commented on 2020-03-22 22:17

@Teyras I have pasted the entire output on pastebin

Teyras commented on 2020-03-20 21:13

@CaninoDev could you show me the full output of makepkg?

CaninoDev commented on 2020-03-20 15:27

Getting the following errors when installing:

==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat '/home/caninodev/.cache/yay/kwin-scripts-krohnkite-git/src/pkg/.local/share/kwin/scripts/krohnkite/.': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
Error making: kwin-scripts-krohnkite-git

Seems to be related to @SolarAquarion 's comment? Not sure how to remedy.

SolarAquarion commented on 2019-04-04 02:58

@teyras the only place where "${srcdir}/pkg/.local/share/kwin/scripts/${_gitname}/." will exist in the $pkgdir of a chroot where a builddir is created and the kwinscript will exist there. Otherwise, it's not move to that folder. So the simpler option, maybe a bit more complex is to move the files from $srcdir/krohnkite/pkg to the relevant directories. Maybe a if loop?

Teyras commented on 2019-01-29 14:05

@SolarAquarion care to give me some pointers on how this should be done?

SolarAquarion commented on 2019-01-04 11:28

You need to add "git" as a makedepend, and, the way you do the package only works in chroot