Files
haikuports/haiku-data/wallpaper_community/wallpaper_community-0.1.recipe
Julius C. Enriquez 846bc3a22e wallpaper_community: Add licenses
wallpaper_community: Fix formatting

wallpaper_community: Fix homepage
2022-12-08 17:08:24 +01:00

45 lines
936 B
Bash

SUMMARY="Wallpapers from the Haiku community"
DESCRIPTION="Wallpapers created by members of the Haiku community"
HOMEPAGE="https://github.com/haiku/artwork"
COPYRIGHT="Various Authors"
LICENSE="
CC-BY 4.0
CC-BY-SA 4.0
"
REVISION="1"
srcGitRev="ff46709ba4f5adcdf87621bd1100079cee6e8fde"
SOURCE_URI="https://github.com/haiku/artwork/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="7921b71930d11b83570669702a09f964cb31de8bda8e2d6db979e46303faab0c"
SOURCE_DIR="artwork-$srcGitRev"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
wallpaper_community = $portVersion
"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
cmd:cp
cmd:rm
"
BUILD()
{
true
}
INSTALL()
{
wallpaperDir=$dataDir/artwork/wallpaper/community
mkdir -p $wallpaperDir
rm -rf wallpapers/_previews
rm -rf wallpapers/*/*.kra
rm -rf wallpapers/*/*.xcf
rm -rf wallpapers/*/*.hdr
rm -rf wallpapers/*/*.blend
cp wallpapers/* -R $wallpaperDir
}