summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/setxkbmap/Makefile24
-rw-r--r--package/xkeyboard-config/Makefile4
2 files changed, 25 insertions, 3 deletions
diff --git a/package/setxkbmap/Makefile b/package/setxkbmap/Makefile
new file mode 100644
index 000000000..08fda96ae
--- /dev/null
+++ b/package/setxkbmap/Makefile
@@ -0,0 +1,24 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= setxkbmap
+PKG_VERSION:= 1.2.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 24b2b316af406898f39be56205132bb2
+PKG_DESCR:= set keyboard utility
+PKG_SECTION:= x11/apps
+PKG_DEPENDS:= libxkbfile
+PKG_SITES:= http://xorg.freedesktop.org/archive/individual/app/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,SETXKBMAP,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_SETXKBMAP)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/setxkbmap \
+ $(IDIR_SETXKBMAP)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xkeyboard-config/Makefile b/package/xkeyboard-config/Makefile
index 55e556908..37022cb57 100644
--- a/package/xkeyboard-config/Makefile
+++ b/package/xkeyboard-config/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= xkeyboard-config
PKG_VERSION:= 1.8
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= f049d15f1e9d95776a940f222df9404b
PKG_DESCR:= X keyboard config
PKG_SECTION:= x11/libs
@@ -20,8 +20,6 @@ post-install:
${INSTALL_DIR} ${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb
${CP} ${WRKINST}/usr/share/X11/xkb/* \
${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb
- rm ${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb/rules/*.lst
- rm ${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb/rules/*.xml
rm -rf ${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb/symbols/sun_vndr
include ${TOPDIR}/mk/pkg-bottom.mk