summaryrefslogblamecommitdiff
path: root/user/atk/APKBUILD
blob: c63ae166ffafa18681bfc1bc02b838a708f5d1b6 (plain) (tree)
1
2
3
4
5
6
7
8
9

              
             
        




                                                                   
                                                                               


                                                                                         
           
                      





                             

                                                                   
             


         

                             


           

                                       

 
                                                                                                                                                                
# Maintainer: 
pkgname=atk
pkgver=2.28.1
pkgrel=0
pkgdesc="A library providing a set of interfaces for accessibility"
url="https://www.gtk.org/"
arch="all"
license="LGPL-2.0+"
depends=""
makedepends="glib-dev gobject-introspection-dev gtk-doc meson musl-utils ninja"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

prepare() {
	cd "$builddir"
	default_prepare
	mkdir _build
}

build() {
	cd "$builddir"/_build
	# enable_docs becomes docs in 2.30 release.
	meson -Dprefix=/usr -Dintrospection=true -Denable_docs=true
	ninja
}

check() {
	cd "$builddir"/_build
	ninja test
}

package() {
	cd "$builddir"/_build
	DESTDIR="$pkgdir" ninja install
}

sha512sums="aa61e7718b3f4d9c33ec2b4747e35f894a51550ef39ecc4a7af5705811c029645bd3c728071f446b075a0b7aef0c35c1b73406a210cd30171838f24a8dfc0abb  atk-2.28.1.tar.xz"