void-packages/srcpkgs/breeze-cursors/template
cr6git eb82cfd999
New meta-package: breeze-cursors-1.0.
Closes: #12925 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-08 14:59:51 +02:00

119 lines
4 KiB
Bash

# Template file for 'breeze-cursors'
pkgname=breeze-cursors
version=1.0
revision=1
create_wrksrc=yes
noarch=yes
build_style=meta
hostmakedepends="unzip"
depends="breeze-amber-cursor-theme
breeze-blue-cursor-theme
breeze-contrast-cursor-theme
breeze-hacked-cursor-theme
breeze-obsidian-cursor-theme
breeze-purple-cursor-theme
breeze-red-cursor-theme
breeze-snow-cursor-theme"
short_desc="Breeze Cursors meta-package"
maintainer="cr6git <quark6@protonmail.com>"
license="GPL-2"
homepage="https://kver.wordpress.com/2015/01/09/curses-i-mean-cursors/"
distfiles="https://code.jpope.org/jpope/breeze_cursor_sources/raw/master/breeze-amber-cursor-theme.zip
https://code.jpope.org/jpope/breeze_cursor_sources/raw/master/breeze-blue-cursor-theme.zip
https://code.jpope.org/jpope/breeze_cursor_sources/raw/master/breeze-contrast-cursor-theme.zip
https://code.jpope.org/jpope/breeze_cursor_sources/raw/master/breeze-hacked-cursor-theme.zip
https://code.jpope.org/jpope/breeze_cursor_sources/raw/master/breeze-obsidian-cursor-theme.zip
https://code.jpope.org/jpope/breeze_cursor_sources/raw/master/breeze-purple-cursor-theme.zip
https://code.jpope.org/jpope/breeze_cursor_sources/raw/master/breeze-red-cursor-theme.zip
https://code.jpope.org/jpope/breeze_cursor_sources/raw/master/breeze-snow-cursor-theme.zip"
checksum="61b488366e3b3d405a20cfc20102cbbca5ae30a72802e3f5ac1eb3804a372d96
76fd9fbde97601227419d5a3b678ea20866e114bfb96e56e142a49670e8fac7b
055356ae4fe6050fe403b82a16abb909ef7e459cc3f64be77ca660bb951dcb61
675b9d1f8e0718505da82abcf0e3377e1e509bd0be71e3c0998136c3895a6b15
2f8b9f8dd1bbf3e8ea6d5ab649d59ec7a0136658b2fd3368a87958c6975d48cb
ed7944b0175b455b5ebce8b0937936a5defda992f54830d5ef98b90a8d422b11
8b952060fffffd0e704501dfb568779782517a649c897e7f5f5fff638a1b5b32
1390272e693f258dc55f86fbd5c99f0f36cfb4e71f22e9062b8d6ff14483562e"
do_install() {
vinstall Breeze_Amber/index.theme 644 /usr/share/icons/Breeze_Amber
vcopy Breeze_Amber/cursors /usr/share/icons/Breeze_Amber
vinstall Breeze_Blue/index.theme 644 /usr/share/icons/Breeze_Blue
vcopy Breeze_Blue/cursors /usr/share/icons/Breeze_Blue
vinstall Breeze_Contrast/index.theme 644 /usr/share/icons/Breeze_Contrast
vcopy Breeze_Contrast/cursors /usr/share/icons/Breeze_Contrast
vinstall Breeze_Hacked/index.theme 644 /usr/share/icons/Breeze_Hacked
vcopy Breeze_Hacked/cursors /usr/share/icons/Breeze_Hacked
vinstall Breeze_Obsidian/index.theme 644 /usr/share/icons/Breeze_Obsidian
vcopy Breeze_Obsidian/cursors /usr/share/icons/Breeze_Obsidian
vinstall Breeze_Purple/index.theme 644 /usr/share/icons/Breeze_Purple
vcopy Breeze_Purple/cursors /usr/share/icons/Breeze_Purple
vinstall Breeze_Red/index.theme 644 /usr/share/icons/Breeze_Red
vcopy Breeze_Red/cursors /usr/share/icons/Breeze_Red
vinstall Breeze_Snow/index.theme 644 /usr/share/icons/Breeze_Snow
vcopy Breeze_Snow/cursors /usr/share/icons/Breeze_Snow
}
breeze-amber-cursor-theme_package() {
noarch=yes
short_desc="Breeze Amber cursor theme"
pkg_install() {
vmove usr/share/icons/Breeze_Amber
}
}
breeze-blue-cursor-theme_package() {
noarch=yes
short_desc="Breeze Blue cursor theme"
pkg_install() {
vmove usr/share/icons/Breeze_Blue
}
}
breeze-contrast-cursor-theme_package() {
noarch=yes
short_desc="Breeze Contrast cursor theme"
pkg_install() {
vmove usr/share/icons/Breeze_Contrast
}
}
breeze-hacked-cursor-theme_package() {
noarch=yes
short_desc="Breeze Hacked cursor theme"
pkg_install() {
vmove usr/share/icons/Breeze_Hacked
}
}
breeze-obsidian-cursor-theme_package() {
noarch=yes
short_desc="Breeze Obsidian cursor theme"
pkg_install() {
vmove usr/share/icons/Breeze_Obsidian
}
}
breeze-purple-cursor-theme_package() {
noarch=yes
short_desc="Breeze Purple cursor theme"
pkg_install() {
vmove usr/share/icons/Breeze_Purple
}
}
breeze-red-cursor-theme_package() {
noarch=yes
short_desc="Breeze Red cursor theme"
pkg_install() {
vmove usr/share/icons/Breeze_Red
}
}
breeze-snow-cursor-theme_package() {
noarch=yes
short_desc="Breeze Snow cursor theme"
pkg_install() {
vmove usr/share/icons/Breeze_Snow
}
}