A small collection of pkgbuilds I did not deem worthy of publishing on aur and maintaining.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
2.1KB

  1. # Original maintainer: Andreas Radke <andyrtr@archlinux.org>
  2. # Original maintainer: Jan de Groot <jgc@archlinux.org>
  3. #
  4. # This is a modified version of xkeyboard-config to provide emulation for ducky
  5. # mini fn key layout that I got used to very much
  6. #
  7. # they don't make those keyboards any more :(
  8. _pkgname=xkeyboard-config
  9. pkgname=xkeyboard-config-ducky
  10. pkgver=2.26
  11. pkgrel=3
  12. pkgdesc="X keyboard configuration files"
  13. arch=(any)
  14. license=('custom')
  15. url="https://www.freedesktop.org/wiki/Software/XKeyboardConfig"
  16. makedepends=('intltool' 'xorg-xkbcomp' 'libxslt')
  17. provides=('xkbdata' "${_pkgname}")
  18. replaces=('xkbdata' "${_pkgname}")
  19. conflicts=('xkbdata' "${_pkgname}")
  20. source=(https://xorg.freedesktop.org/archive/individual/data/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2
  21. pt-layout.patch
  22. ducky_mini
  23. ru.patch
  24. us.patch)
  25. sha512sums=('5c8a31f7a6ad5daed8a3fceb56230b2e2fc04a25f52a43b3b4ea81e4a6ab15c52869f749c4b747d855cd4b618c04bcbb40e85dec7eab31fbe3bd45e8c9b755ef'
  26. '98c8b47e9a36ba3f130454fdd68c508f54b78eb65ddb071ca85bdcc3b324699e51155e3fc425ccae98350bb6430fea4771c0338024c1e06063a54b879bb707db'
  27. 'ac79eb7fb16f517cf1178bcbfe83f708741feb950ee1e1c92fcea2b1e10ceae6d9f90ad860440f64da6759c843bcc10f4ac2479d323c450aeaf323bf37722257'
  28. '854c52d168837a5c72559498d10dff7843275323c4082d1c741c832d068108be3a51e823c98a27ea47c5fe4f335499fdbcaa3698117740ef24c07c41161ad59b'
  29. '7d9c692980c77a3b0658a5dd707ecdcd1e3fe47c2958f539f1f81dd04d5f204f779569d6b880c3f12872397d6171b2ec2caab9a4e79461c9f5828ca1c45acb08')
  30. build() {
  31. cd ${_pkgname}-${pkgver}
  32. cp -v ${srcdir}/ducky_mini symbols
  33. patch -p1 < ${srcdir}/ru.patch
  34. patch -p1 < ${srcdir}/us.patch
  35. ./configure --prefix=/usr \
  36. --with-xkb-base=/usr/share/X11/xkb \
  37. --with-xkb-rules-symlink=xorg \
  38. --enable-compat-rules=yes
  39. make
  40. }
  41. package() {
  42. cd ${_pkgname}-${pkgver}
  43. make DESTDIR="${pkgdir}" install
  44. rm -f "${pkgdir}/usr/share/X11/xkb/compiled"
  45. install -m755 -d "${pkgdir}/var/lib/xkb"
  46. install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  47. install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
  48. }