summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7bf4756682f3bacb81e85b8bdd472228af3b666e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Maintainer: evgvs <evgvs@t.me>

pkgname=bigclick
pkgver=46.0_bigclick
pkgrel=1
pkgdesc="Patched kgx (GNOME Console): right-click to copy/paste (as in Windows)"
url="https://github.com/evgvs/bigclick"
arch=(x86_64)
license=(GPL-3.0-or-later)
depends=(
  dconf
  gcc-libs
  gtk4
  glib2
  glibc
  hicolor-icon-theme
  libadwaita
  libgtop
  pango
  vte4
)
makedepends=(
  appstream
  git
  meson
  python-packaging
)
groups=(gnome)
conflicts=("gnome-console")
provides=("gnome-console")
source=("git+https://github.com/evgvs/bigclick")
md5sums=("SKIP")

prepare() {
  cd $pkgname
}

build() {
  local meson_options=(
    -D tests=true
  )

  arch-meson $pkgname build "${meson_options[@]}"
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

package() {
  meson install -C build --destdir "$pkgdir"
}