#!/usr/bin/bash
# JOBoRun		: Jwm OpenBox Obarun RUNit
# Maintainer	: Joe Bo Run <joborun@disroot.org>
# PkgSource		: url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website		: https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

pkgname=xorg-xkbutils
pkgver=1.0.5
pkgrel=01
pkgdesc="XKB utility demos"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
depends=('libxaw' 'libxt' 'libx11')
makedepends=('xorg-util-macros' 'xorgproto')
groups=('xorg-apps' 'xorg')
source=(https://xorg.freedesktop.org/archive/individual/app/xkbutils-${pkgver}.tar.xz{,.sig})

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

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

#---- license gpg-key sha256sums ----

license=('custom')

validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>

sha256sums=(f6a4a8e9c54582beb3787b1faa8168caab125c1fee0ca9cfa5b6c9c1df25eea4 # xkbutils-1.0.5.tar.xz
	80bd2718861c1c1d88d7990e56b102e58659fc78aed2fcea340ef383744ef7a4) # xkbutils-1.0.5.tar.xz.sig


