summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b1bc4e4e13bcb345799dd80ef7dc9f9e8efbdd2 (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
# Maintainer: Pellegrino Prevete <cGVsbGVncmlub3ByZXZldGVAZ21haWwuY29tCg== | base -d>

_pkgname=clutter-gtk
pkgname=$_pkgname-git
pkgver=1.8.5+11+ec9239ba
pkgrel=1
pkgdesc="Clutter integration with GTK+"
arch=(x86_64)
url="https://gitlab.gnome.org/GNOME/clutter-gtk"
license=(LGPL)
depends=(clutter)
makedepends=(gobject-introspection gtk-doc git meson)
source=("git+https://gitlab.gnome.org/GNOME/$_pkgname.git")
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd $_pkgname
}

build() {
  meson $_pkgname build -Denable_docs=true
  ninja -C build
}

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

# vim:set sw=2 et: