blob: 553f85a05e6810dcf0cc4947534b5d5786849332 (
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
|
# Maintainer: rilian-la-te <ria.freelander@gmail.com>
_pkgname=vala-panel
pkgname=${_pkgname}-git
pkgver=24.05.r0.g295d892
pkgrel=1
pkgdesc="Gtk3 panel for compositing window managers"
url="https://gitlab.com/vala-panel-project/vala-panel"
arch=('i686' 'x86_64')
license=('LGPL-3.0-or-later')
depends=('gtk3' 'libwnck3' 'gtk-layer-shell' 'appmenu-glib-translator')
makedepends=('meson' 'vala' 'git' 'gobject-introspection' 'glib2-devel')
provides=("vala-panel=${pkgver}")
conflicts=('vala-panel-sntray' 'vala-panel-sntray-git' 'vala-panel')
optdepends=('vala-panel-appmenu-valapanel: Global Menu'
'vala-panel-applets-xembed: Old system tray'
'vala-panel-applets-icontasks: Budgie tasklist'
'vala-panel-genmon: GenMon applet')
source=("git+https://gitlab.com/vala-panel-project/${_pkgname}.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
( set -o pipefail
git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build() {
meson build "${srcdir}/${_pkgname}" --prefix=/usr --libdir=lib --libexecdir=lib -Dwnck=enabled -Dplatforms=x11,wayland
meson compile -C build
}
package() {
DESTDIR="${pkgdir}" meson install -C build
}
|