mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 01:07:15 +08:00
33 lines
780 B
Bash
33 lines
780 B
Bash
# Maintainer: abveritas@chakra-project.org
|
|
# Contributor: Mladen Pejakovic <pejakm@gmail.com>
|
|
|
|
pkgname=libxkbcommon
|
|
pkgver=0.5.0
|
|
pkgrel=1
|
|
pkgdesc="Keyboard handling library using XKB data"
|
|
arch=('x86_64')
|
|
url="http://xkbcommon.org/"
|
|
license=('custom')
|
|
depends=(xkeyboard-config glibc)
|
|
checkdepends=(xorg-server-xvfb libgl)
|
|
makedepends=(libxcb doxygen xorg-util-macros)
|
|
source=("http://xkbcommon.org/download/$pkgname-$pkgver.tar.xz")
|
|
md5sums=('2e1faeafcc609c30af3a561a91e84158')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr --disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgbase-$pkgver
|
|
xvfb-run -a make -k check
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
|
}
|