summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 70b215ea30743a6cd454a75e7bdcf26a876f9e26 (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
# Maintainer: Grey Christoforo <first name at last name dot net>

pkgname=libpanel-git
pkgver=r15.84ad75c
pkgrel=1
epoch=0
pkgdesc='A dock/panel library for GTK 4'
arch=('x86_64')
url='https://gitlab.gnome.org/chergert/libpanel'
license=('GPL3')
provides=(libpanel)
depends=(
'gtk4>=4.3.0'
gobject-introspection
)
makedepends=(
meson
ninja
)
source=("git+https://gitlab.gnome.org/chergert/libpanel.git")
md5sums=('SKIP')

pkgver() {
  cd libpanel
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
  cd libpanel
}

build() {
  arch-meson libpanel build
  meson compile -C build
}

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

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