Files
haikuports/haiku-apps/thememanager/thememanager-1.0_git.recipe
Adrien Destugues 535db7dd18 Download from safe sources.
Downloading directly from VCS repos is not allowed on package build
bots, so use archived exports whenever possible.
2016-08-28 22:35:25 +02:00

50 lines
1.2 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"
# 14 January 2014 commit
commit="b9d47cf7fd8bde18ea84311606a58a4b4fd71717"
SOURCE_URI="$HOMEPAGE/archive/$commit.tar.gz"
SOURCE_DIR="HaikuThemeManager-$commit"
CHECKSUM_SHA256="296b8c6abf0411e42a963b326cf4b7525df383e33f3cbacddcfc339d263a98bf"
LICENSE="MIT"
COPYRIGHT="2000-2015 François Revol"
REVISION="3"
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
}