mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
Update KeymapSwitcher to 1.2.7.16
This commit is contained in:
51
haiku-apps/keymapswitcher/keymapswitcher-1.2.7.16.recipe
Normal file
51
haiku-apps/keymapswitcher/keymapswitcher-1.2.7.16.recipe
Normal file
@@ -0,0 +1,51 @@
|
||||
SUMMARY="An easy to use Keymap Switcher"
|
||||
DESCRIPTION="This is a keymap switcher for Haiku. It is very similar to what \
|
||||
you used to have in Windows to change the keymap with hotkeys, but has some \
|
||||
additional features (and lacks some, for sure)."
|
||||
HOMEPAGE="https://github.com/HaikuArchives/KeymapSwitcher"
|
||||
COPYRIGHT="
|
||||
1999-2003 Stas Maximov
|
||||
2003-2013 Siarzhuk Zharski
|
||||
"
|
||||
LICENSE="BSD (4-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/KeymapSwitcher/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1622bffb6b7ed82e6f7473ec715d800abc33f9a17a609d7f65b61580f6c8cbfd"
|
||||
SOURCE_DIR="KeymapSwitcher-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
keymapswitcher = $portVersion compat >= 1.2.7
|
||||
app:KeymapSwitcher = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
makefile_engine
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs BUILDHOME=/system/develop HPKG_INSTALL_DIR=$prefix
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
# We're not interested in the package, but that target copies the
|
||||
# interesting files to a well-known directory structure. Otherwise we'd have
|
||||
# to find out the name of the object dir and collect everything ourselves.
|
||||
# Obviously an install target would be even better.
|
||||
make BUILDHOME=/system/develop HPKG_INSTALL_DIR=$prefix hpkg
|
||||
|
||||
addPreferencesDeskbarSymlink $preferencesDir/KeymapSwitcher
|
||||
}
|
||||
Reference in New Issue
Block a user