New package: xxkb-1.11.1

Closes: #6463 [via git-merge-pr]
This commit is contained in:
kainonergon 2017-05-20 22:32:12 +04:00 committed by Toyam Cox
parent 2564825454
commit 5d4b0b25b7
2 changed files with 46 additions and 0 deletions

16
srcpkgs/xxkb/files/XXkb Normal file
View file

@ -0,0 +1,16 @@
XXkb.controls.add_when_start: yes
XXkb.controls.add_when_create: yes
XXkb.controls.add_when_change: yes
XXkb.controls.focusout: yes
XXkb.controls.two_state: yes
XXkb.controls.button_delete: yes
XXkb.controls.button_delete_and_forget: no
XXkb.controls.mainwindow_delete: no
XXkb.group.base: 1
XXkb.group.alt: 2
XXkb.bell.enable: no
XXkb.mainwindow.enable: no
XXkb.button.enable: no
XXkb.ignore.reverse: no
XXkb.mousebutton.1.reverse: no
XXkb.mousebutton.3.reverse: no

30
srcpkgs/xxkb/template Normal file
View file

@ -0,0 +1,30 @@
# Template file for 'xxkb'
pkgname=xxkb
version=1.11.1
revision=1
build_style=gnu-makefile
make_install_target="install install.man"
hostmakedepends="imake"
makedepends="libX11-devel libXt-devel libXext-devel libXpm-devel"
short_desc="Keyboard layout switcher and indicator"
maintainer="Andrey Raugas <kainonergon@gmail.com>"
license="PerlArtistic"
homepage="https://sourceforge.net/projects/xxkb/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-src.tar.gz"
checksum=ceaa33bed81d8ae5bf77e89787d0736f7564c3de047c35a57bcbf6f4d1888142
pre_build() {
CC=cc xmkmf
}
do_build() {
# It builds poorly when we force our LDFLAGS and CFLAGS
# So we force them on our terms.
make CC=$CC CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
}
post_install() {
vinstall ${FILESDIR}/XXkb 0644 /usr/share/X11/app-defaults
vlicense LICENSE
rm -r ${DESTDIR}/usr/lib
}