parent
2564825454
commit
5d4b0b25b7
16
srcpkgs/xxkb/files/XXkb
Normal file
16
srcpkgs/xxkb/files/XXkb
Normal 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
30
srcpkgs/xxkb/template
Normal 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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user