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

                                                           
          
        


                                                            

                                                                          
                                       
                                                                        



























                                         
                                                                                                                                                                      
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=libxklavier
pkgver=5.4
pkgrel=1
pkgdesc="High-level API for XKB"
url="https://www.freedesktop.org/wiki/Software/LibXklavier/"
arch="all"
license="LGPL-2.0+"
makedepends="gobject-introspection-dev libx11-dev libxml2-dev glib-dev
	libxcb-dev libxkbcommon-dev libxkbfile-dev libxi-dev iso-codes-dev
	vala-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://people.freedesktop.org/~svu/libxklavier-$pkgver.tar.bz2"

prepare() {
	cd "$builddir"
	default_prepare
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="e9342d94f6cd67e900e44d9751ee0d8c75bec8e3a7b30989612bd71a5f890be52ff843465162dbbe0bfc9004da76e1d47158a4671b8f915e51c91f9d82f7baae  libxklavier-5.4.tar.bz2"