# Maintainer: Jesus E. pkgname=sxhkd pkgver=0.6.2 pkgrel=2 pkgdesc="A simple X hotkey daemon" arch=('i686' 'x86_64') url='https://github.com/baskerville/sxhkd' license=('Simplified-BSD') depends=('libxcb' 'xcb-util-keysyms') makedepends=('xcb-util') source=("https://github.com/baskerville/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") sha512sums=('3f758aec3de76c6336a9008e997317ed7a05db0fcd81025d8f856694c2b8162022e25d9a48876de99056748a2dbe6a561a0e1594973c854ac2c98d44af6b03aa') build() { cd "${pkgname}-${pkgver}" make PREFIX=/usr } package() { cd "${pkgname}-${pkgver}" make PREFIX=/usr DESTDIR="$pkgdir" install rm "${pkgdir}/usr/share/doc/sxhkd/examples/notification/"{autostart,sxhkd_notify,pam_environment} install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" }