void-packages/srcpkgs/deepin-icon-theme/template

35 lines
988 B
Bash

# Template file for 'deepin-icon-theme'
pkgname=deepin-icon-theme
version=2020.04.13
revision=1
archs=noarch
hostmakedepends="xcursorgen"
depends="papirus-icon-theme"
short_desc="Deepin Icon Theme"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/deepin-icon-theme"
changelog="https://github.com/linuxdeepin/deepin-icon-theme/blob/master/CHANGELOG.md"
distfiles="https://github.com/linuxdeepin/deepin-icon-theme/archive/${version}.tar.gz"
checksum=570271778ae71ffa62a93fb574171deb2da16558778cc547bbfc59625ca23599
do_build() {
make cursor check-perm
}
do_install() {
vmkdir usr/share/icons
vcopy Sea usr/share/icons
vcopy bloom /usr/share/icons
vcopy bloom-dark /usr/share/icons
vcopy bloom-classic /usr/share/icons
vcopy bloom-classic-dark /usr/share/icons
vcopy usr/share/icons/hicolor usr/share/icons
}
sea-icon-theme_package() {
short_desc="Deepin Sea Icons"
pkg_install() {
vmove usr/share/icons/Sea
}
}