KeymapSwitcher: Use safe SOURCE_URIs

* drop older recipes
This commit is contained in:
Sergei Reznikov
2016-10-02 19:29:28 +03:00
parent fab7aa9d71
commit 0ef04bdfaa
4 changed files with 14 additions and 184 deletions

View File

@@ -1,14 +1,18 @@
SUMMARY="Easy to use Keymap Switcher for Haiku"
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="http://www.sf.net/projects/switcher"
COPYRIGHT="1999-2003 Stas Maximov"
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="cvs://:pserver:anonymous@switcher.cvs.sourceforge.net:/cvsroot/switcher/keymapswitcher(haiku)#release_1_2_7_11"
PATCHES="keymapswitcher-$portVersion.patchset"
REVISION="2"
commit="dc72883019995034241eec5e9152cb817dc52002"
SOURCE_URI="https://github.com/HaikuArchives/KeymapSwitcher/archive/$commit.zip"
SOURCE_DIR="KeymapSwitcher-$commit"
CHECKSUM_SHA256="d9b6fcd6d7839c68a2a99db691185ea7590cd167eae1b9c7ff252bc9525ec400"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -31,15 +35,9 @@ BUILD_PREREQUIRES="
cmd:make
"
PATCH()
{
# Fix makefile not to use BUILDHOME as an install dir variable.
sed -i "s,BUILDHOME,HPKG_INSTALL_DIR,g" makefile
}
BUILD()
{
make $jobArgs BUILDHOME=/boot/system/develop HPKG_INSTALL_DIR=$prefix
make $jobArgs BUILDHOME=/system/develop HPKG_INSTALL_DIR=$prefix
}
INSTALL()