You are not logged in.

#1 2022-07-02 17:31:16

ljgdasfhk
Member
Registered: 2018-05-22
Posts: 5

The «copyq» is only for KDE, but I'm against it.

I propose to eliminate the dependence on KDE and replace PKGBUILD with the following

# Maintainer: BlackIkeEagle < ike DOT devolder AT gmail DOT com >
# Contributor: Maxim Baz <$pkgname at maximbaz dot com>
# Contributor: Batou <batou at cryptolab net>
# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>[/ins]

pkgname=copyq
pkgver=6.1.0
pkgrel=1
pkgdesc="Clipboard manager with searchable and editable history"
url="https://github.com/hluk/${pkgname}"
depends=('hicolor-icon-theme' 'qt5-svg' 'qt5-wayland')
makedepends=('extra-cmake-modules' 'qt5-tools')
license=('GPL3')
arch=('x86_64')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('d235b31224264e7fa463020f1a934143aa287a4d9cb9bbb6883563ad66e84099')

build() {
    cmake -B build -S CopyQ-$pkgver \
      -DCMAKE_INSTALL_PREFIX=/usr \
      -DWITH_NATIVE_NOTIFICATIONS=false
    cmake --build build
}

package() {
    DESTDIR="${pkgdir}" cmake --install build
}

NATIVE_NOTIFICATIONS=false

Last edited by ljgdasfhk (2022-07-02 17:32:25)

Offline

#2 2022-07-02 17:35:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,497
Website

Re: The «copyq» is only for KDE, but I'm against it.

This is the wrong place for a bug/feature request.  But also note that which options are built into a package is up to the packager - and in arch linux, there is a trend for all (or most) optional features to be included/enabled.  Arch packages tend to be anti-minimalist.

But feel free to build and use your own copyq, you should change the name (to e.g., copyq-nokde) and add provides/conflicts fields.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB