summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d0d332e1f2982f07cb9798f2dfaec7534f90cf9f (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
# Maintainer:  Vincent Grande <shoober420@gmail.com>
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>

pkgname=at-spi2-atk-git
pkgver=2.38.0
pkgrel=1
pkgdesc="A GTK+ module that bridges ATK to D-Bus at-spi"
url="https://wiki.gnome.org/Accessibility"
arch=(x86_64)
license=(LGPL)
depends=(at-spi2-core libx11 libxml2 atk)
makedepends=(git meson)
provides=(at-spi2-atk)
conflicts=(at-spi2-atk)
source=("git+https://gitlab.gnome.org/GNOME/at-spi2-atk.git")
sha256sums=('SKIP')

pkgver() {
  cd at-spi2-atk
  git describe --tags | sed 's/^AT_SPI2_ATK_//;s/_/./g;s/-/+/g'
}

prepare() {
  cd at-spi2-atk
}

build() {
  arch-meson at-spi2-atk build
  meson compile -C build
}

#check() {
#  dbus-run-session meson test -C build --print-errorlogs
#}

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

# vim:set ts=2 sw=2 et: