Skip to content

Commit

Permalink
KeymapSwitcher: Use safe SOURCE_URIs
Browse files Browse the repository at this point in the history
* drop older recipes
  • Loading branch information
diversys authored and pulkomandy committed Oct 31, 2016
1 parent 8ac383d commit 35ed32c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 115 deletions.
55 changes: 0 additions & 55 deletions haiku-apps/keymapswitcher/keymapswitcher-1.2.7.10.recipe

This file was deleted.

30 changes: 14 additions & 16 deletions haiku-apps/keymapswitcher/keymapswitcher-1.2.7.11.recipe
@@ -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"
Expand All @@ -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()
Expand Down
44 changes: 0 additions & 44 deletions haiku-apps/keymapswitcher/patches/keymapswitcher-1.2.7.11.patchset

This file was deleted.

0 comments on commit 35ed32c

Please sign in to comment.