diff --git a/srcpkgs/Platinum9-theme/template b/srcpkgs/Platinum9-theme/template new file mode 100644 index 0000000000..0798603e67 --- /dev/null +++ b/srcpkgs/Platinum9-theme/template @@ -0,0 +1,32 @@ +# Template file for 'Platinum9-theme' +pkgname=Platinum9-theme +version=0.0.0.20170720 +revision=1 +noarch=yes +_commit=d3d2080c1a2d5772714d089d1dc1daeeb41db008 +wrksrc="Platinum9-${_commit}" +depends="font-util" +font_dirs="/usr/share/fonts/TTF" +short_desc="Quick and dirty theme meant to approximate the MacOS 9 (System 7) theme" +maintainer="cr6git " +license="GPL-2.0-or-later" +homepage="https://github.com/grassmunk/Platinum9" +distfiles="https://github.com/grassmunk/Platinum9/archive/${_commit}.tar.gz" +checksum=b6b026bf090e0a40f57b83e95c672ad003b270b7ce1c3575c312295eb9d10a09 + +do_install() { + for f in Charcoal.ttf MONACO.TTF; do + vinstall ${f} 644 usr/share/fonts/TTF + done + + vmkdir usr/share/icons + vcopy NineIcons usr/share/icons + + vmkdir usr/share/themes + for f in ClassicPlatinumStreamlined PlatiPlus{,26}; do + vcopy ${f} usr/share/themes + done + + vmkdir usr/share/wallpapers + vcopy OS9-wallpaper usr/share/wallpapers +}