Files
haikuports/haiku-apps/thememanager/thememanager-1.0~git.recipe
2017-02-07 21:56:45 +01:00

51 lines
1.1 KiB
Bash

SUMMARY="Manages Haiku themes"
DESCRIPTION="
The Haiku Theme Manager is compatible with the one that shipped with ZETA. \
Users can choose which part of a theme to apply or save. It can also import \
BeTheme themes, and to some degree, MS Plus themes. It is add-ons based, so it \
can be extended.
"
HOMEPAGE="https://github.com/mmuman/HaikuThemeManager"
LICENSE="MIT"
COPYRIGHT="2000-2015 François Revol"
REVISION="2"
commit="38a90a92ea0150a4589865e8ce2054e9726f6352"
SOURCE_URI="$HOMEPAGE/archive/$commit.tar.gz"
CHECKSUM_SHA256="897c4c34f2c4d2988c3b2f20bcdfbaca3df04071a8ccd79578ab67890b05caeb"
SOURCE_DIR="HaikuThemeManager-$commit"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
PROVIDES="
thememanager = $portVersion
app:ThemeManager = $portVersion
"
REQUIRES="
haiku
"
#XXX: suggests?
#thememanager_themes
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:git
cmd:gcc
cmd:make
cmd:ld
"
BUILD()
{
cd src
make OBJ_DIR=objects BUILDHOME=/boot/system/develop $jobArgs
}
INSTALL()
{
cd src
make OBJ_DIR=objects BUILDHOME=/boot/system/develop INSTALL_DIR=$preferencesDir install
addPreferencesDeskbarSymlink $preferencesDir/ThemeManager
}