core/atk/PKGBUILD
AlmAck e5d48f25f0 glib2 2.54.1, group update
meson check() requires ton of deps, skipped for now
lot of issues building with meson, stay with configure when possible
2017-10-19 23:33:41 +02:00

40 lines
742 B
Bash

pkgname=atk
pkgver=2.26.0
pkgrel=1
pkgdesc="A library providing a set of interfaces for accessibility"
url="https://git.gnome.org/browse/atk"
arch=('x86_64')
license=('LGPL')
depends=('glib2')
makedepends=(gobject-introspection git gtk-doc meson)
_commit=d2fbf661260626939cc3186c58177c1890c0e2e2 # tags/ATK_2_26_0^0
source=("git+https://git.gnome.org/browse/atk#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^ATK_//;s/_/./g;s/-/+/g'
}
prepare() {
mkdir build
cd $pkgname
}
check() {
cd build
meson test
}
build() {
cd build
meson setup --prefix=/usr --buildtype=release ../$pkgname \
-Denable_docs=true
ninja
}
package() {
cd build
DESTDIR="$pkgdir" ninja install
}