summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 882b19f9ae3fa9e931f312747402ff10d42c8ad9 (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
# Maintainer: Sergii Fesenko <sergii underscore f dot at outlook dot com>

pkgname=granite7-git
_pkgname=${pkgname%-git}
pkgver=7.4.0.r30.946ec220
pkgrel=1
pkgdesc='Library that extends GTK with common widgets and utilities'
arch=(x86_64)
url=https://github.com/elementary/granite
license=(LGPL-3.0-only)
groups=(pantheon-unstable)
depends=(
  gtk4
  libgee
)
makedepends=(
  git
  gobject-introspection
  meson
  ninja
  vala
  sassc
)
provides=(
  granite7
  libgranite-7.so
)
conflicts=(granite7)
source=("${_pkgname}::git+https://github.com/elementary/granite.git#branch=main")
sha256sums=(SKIP)

pkgver() {
  cd ${_pkgname}
  git describe --tags --long | sed 's/-/.r/; s/-g/./'
}

build() {
  arch-meson ${_pkgname} build
  meson compile -C build
}

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

# vim: ts=2 sw=2 et: