summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3eb19969dcbb848b3f4abefa36f7e4083aa37d25 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Maintainer: Pellegrino Prevete (tallero) <pellegrinoprevete@gmail.com>
# Contributor: Ricardo Liang (rliang) <ricardoliang@gmail.com>

_pkgname="gnome-characters"
pkgname="${_pkgname}-git"
pkgver=44.0+31+g142609f
pkgrel=1
pkgdesc="A character map application"
url="https://gitlab.gnome.org/GNOME/${_pkgname}"
arch=(
  x86_64
  i686
  pentium4
  aarch64
  armv7h
  armv6l
)
license=(GPL2)
depends=(
  emoji-font
  gjs
  gnome-desktop-4
  gtk4
  libadwaita
)
makedepends=(
  appstream-glib
  git
  gobject-introspection
  gperf
  meson
)
provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}")
groups=(
  gnome
  gnome-git
)
source=("git+${url}")
sha256sums=('SKIP')

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

prepare() {
  cd "${_pkgname}"
}

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

check() {
  meson test -C build
}

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

# vim:set sw=2 sts=-1 et: