upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / ganv / trunk / PKGBUILD
blobe89b19ef1c96fc902fad4c9693b897cff3063de3
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: speps <speps at aur dot archlinux dot org>
4 pkgname=ganv
5 pkgver=1.8.2
6 pkgrel=1
7 pkgdesc="An interactive Gtkmm canvas widget for graph-based interfaces"
8 arch=(x86_64)
9 url="https://drobilla.net/software/ganv.html"
10 license=(GPL3)
11 depends=(cairo gcc-libs glibc graphviz)
12 makedepends=(glib2 gobject-introspection gtk2 gtkmm harfbuzz libsigc++ meson pango)
13 provides=(libganv-1.so)
14 source=(https://download.drobilla.net/ganv-$pkgver.tar.xz{,.sig})
15 sha512sums=('12544d45fc3b06a02dcfaf41be266770a8dcbd079979b07cb1a05388e3cdddd54040b609f76c16c8982d89f864e5000d04fd2d09d8036705a41cafe944c2a6dd'
16             'SKIP')
17 b2sums=('45e5370f3b94a7010f89943225748e40291583f7d2cc80f637f3db4fac3a03c9b58217bd8e8119f7867302c43846be47e928721addce68560c63cec5faa3b4d4'
18         'SKIP')
19 validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d@drobilla.net>
21 build() {
22   # NOTE: something probably provides intl, but we don't have it, so disable natural language support
23   arch-meson $pkgname-$pkgver build -D nls=disabled
24   meson compile -C build
27 check() {
28   meson test -C build
31 package() {
32   depends+=(libgdk-x11-2.0.so libglib-2.0.so libgobject-2.0.so
33   libgtk-x11-2.0.so libpangocairo-1.0.so libpango-1.0.so libsigc-2.0.so)
35   meson install -C build --destdir "$pkgdir"
36   install -vDm 644 $pkgname-$pkgver/{AUTHORS,NEWS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"