summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b495d3b3365cda7350bf76dee4c0d05e3df05b60 (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
# Maintainer:
# Contributor: Pellegrino Prevete <pellegrinoprevete@gmail.com>

_pkgname="vala-panel"
pkgname="$_pkgname"
pkgver=24.05
pkgrel=1
pkgdesc="Panel for compositing window managers"
url="https://gitlab.com/vala-panel-project/vala-panel"
license=('LGPL-3.0-only')
arch=('x86_64')

depends=(
  'gtk-layer-shell'
  'gtk3'
  'libwnck3'

  ## implicit
  #at-spi2-core
  #cairo
  #dconf
  #gdk-pixbuf2
  #glib2
  #hicolor-icon-theme
  #pango
)
makedepends=(
  'git'
  'meson'
  'vala'
  'gobject-introspection'
)

_pkgsrc="$_pkgname"
source=("$_pkgsrc"::"git+$url.git#tag=$pkgver")
sha256sums=('SKIP')

build() {
  local _meson_options=(
    -Dwnck=enabled
    -Dplatforms=x11,wayland
  )

  arch-meson build "$_pkgsrc" "${_meson_options[@]}"
  meson compile -C build
}

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