2017-12-06 14:34:47 +02:00
|
|
|
# Original maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# Original maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
#
|
|
|
|
# This is a modified version of xkeyboard-config to provide emulation for ducky
|
|
|
|
# mini fn key layout that I got used to very much
|
|
|
|
#
|
|
|
|
# they don't make those keyboards any more :(
|
|
|
|
|
2017-12-06 15:17:42 +02:00
|
|
|
_pkgname=xkeyboard-config
|
|
|
|
pkgname=xkeyboard-config-ducky
|
2019-02-11 10:54:46 +02:00
|
|
|
pkgver=2.26
|
|
|
|
pkgrel=2
|
2017-12-06 14:34:47 +02:00
|
|
|
pkgdesc="X keyboard configuration files"
|
|
|
|
arch=(any)
|
|
|
|
license=('custom')
|
|
|
|
url="https://www.freedesktop.org/wiki/Software/XKeyboardConfig"
|
|
|
|
makedepends=('intltool' 'xorg-xkbcomp' 'libxslt')
|
2017-12-06 15:17:42 +02:00
|
|
|
provides=('xkbdata' "${_pkgname}")
|
|
|
|
replaces=('xkbdata' "${_pkgname}")
|
|
|
|
conflicts=('xkbdata' "${_pkgname}")
|
2019-02-11 10:54:46 +02:00
|
|
|
source=(https://xorg.freedesktop.org/archive/individual/data/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2
|
|
|
|
pt-layout.patch
|
|
|
|
ducky_mini
|
|
|
|
ru.patch
|
|
|
|
us.patch)
|
|
|
|
sha512sums=('5c8a31f7a6ad5daed8a3fceb56230b2e2fc04a25f52a43b3b4ea81e4a6ab15c52869f749c4b747d855cd4b618c04bcbb40e85dec7eab31fbe3bd45e8c9b755ef'
|
|
|
|
'98c8b47e9a36ba3f130454fdd68c508f54b78eb65ddb071ca85bdcc3b324699e51155e3fc425ccae98350bb6430fea4771c0338024c1e06063a54b879bb707db'
|
2018-10-25 15:39:00 +03:00
|
|
|
'2f3561852475959e884a09662e248155d642e1e3ae3996020333dee0709907917f05a43f4351dffde898fd0a10954078fe998763a4df0a35167afaafa9abf600'
|
|
|
|
'854c52d168837a5c72559498d10dff7843275323c4082d1c741c832d068108be3a51e823c98a27ea47c5fe4f335499fdbcaa3698117740ef24c07c41161ad59b'
|
|
|
|
'7d9c692980c77a3b0658a5dd707ecdcd1e3fe47c2958f539f1f81dd04d5f204f779569d6b880c3f12872397d6171b2ec2caab9a4e79461c9f5828ca1c45acb08')
|
2017-12-06 14:34:47 +02:00
|
|
|
|
|
|
|
build() {
|
2017-12-06 15:17:42 +02:00
|
|
|
cd ${_pkgname}-${pkgver}
|
2017-12-06 14:34:47 +02:00
|
|
|
cp -v ${srcdir}/ducky_mini symbols
|
|
|
|
patch -p1 < ${srcdir}/ru.patch
|
|
|
|
patch -p1 < ${srcdir}/us.patch
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-xkb-base=/usr/share/X11/xkb \
|
|
|
|
--with-xkb-rules-symlink=xorg \
|
|
|
|
--enable-compat-rules=yes
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-12-06 15:17:42 +02:00
|
|
|
cd ${_pkgname}-${pkgver}
|
2017-12-06 14:34:47 +02:00
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
rm -f "${pkgdir}/usr/share/X11/xkb/compiled"
|
|
|
|
|
|
|
|
install -m755 -d "${pkgdir}/var/lib/xkb"
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
|
|
}
|