Name xcb-util-keysyms
Description Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes
Version 0.4.1-5
Package Base xcb-util-keysyms
Homepage https://xcb.freedesktop.org
Maintainers ['Andreas Radke <andyrtr@archlinux.org>']
Contributors ['Jan de Groot <jgc@archlinux.org>']
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/xcb-util-keysyms
Sources ['https://xorg.freedesktop.org/archive/individual/lib/xcb-util-keysyms-0.4.1.tar.xz', 'https://xorg.freedesktop.org/archive/individual/lib/xcb-util-keysyms-0.4.1.tar.xz.sig']
Dependencies ['glibc', 'libxcb']
Optional-Dependencies []
Build-Dependencies ['xorg-util-macros', 'xorgproto']
Provides []
Builddate 10-07-2024 21:27:26
Architecture x86_64
Distro-Version
Licenses ['X11-distribute-modifications-variant']
Hash 312213911881c0742e2a825432feac761e863945b74bb3a6daca97a99778d35e
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=xcb-util-keysyms
pkgver=0.4.1
pkgrel=5
pkgdesc="Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes"
arch=('x86_64')
url="https://xcb.freedesktop.org"
license=('X11-distribute-modifications-variant')
depends=('libxcb' 'glibc')
makedepends=('xorg-util-macros' 'xorgproto')
source=(https://xorg.freedesktop.org/archive/individual/lib/${pkgname}-${pkgver}.tar.xz{,.sig})
sha512sums=('dd53a36b52647f22bf0da8cded4b2974a51899eaac799797017ed8534f14bc2d2d339a14fa5ef387ae4528b7d9a5d31920bb0c71b09ca34f58e5081e768e2bbf'
            'SKIP')
validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --disable-static
  make
}

check() {
  cd ${pkgname}-${pkgver}
  make check
}

package() { 
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}