# Packager = Tuxcore <dev@tuxcore.org> 
pkgname=xorg-xkill
pkgver=1.0.6
pkgrel=2
pkgdesc="Kill a client by its X resource"
arch=(x86_64)
url="https://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu')
makedepends=('xorg-util-macros')
groups=('xorg-apps' 'xorg')
source=(https://xorg.freedesktop.org/archive/individual/app/xkill-${pkgver}.tar.xz{,.sig})
sha512sums=('a755a8db51d7860b9942161776390007b9b530c2f7fcf8ddb3383311d36d185a6f08a44c5f6f7735576b146902e66aca21cbd7e746c1289d035e79332e8173b6'
            'SKIP')

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

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