core/atk/PKGBUILD

40 lines
742 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=atk
pkgver=2.26.0
2015-01-05 21:55:25 +08:00
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="A library providing a set of interfaces for accessibility"
url="https://git.gnome.org/browse/atk"
arch=('x86_64')
2010-03-14 23:48:48 +08:00
license=('LGPL')
2011-09-26 01:32:10 +08:00
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
}
2010-03-14 23:48:48 +08:00
build() {
cd build
meson setup --prefix=/usr --buildtype=release ../$pkgname \
-Denable_docs=true
ninja
2011-09-26 01:32:10 +08:00
}
package() {
cd build
DESTDIR="$pkgdir" ninja install
2010-03-14 23:48:48 +08:00
}