- xbps-src templates: das-theme (adw-gtk3-based GTK themes, generated xfwm4 frames, wallpapers, logo), das-settings (Xfce, panel, LightDM defaults in /etc/xdg/das), adw-gtk3 and font-jetbrains-mono - void-mklive profile in live/: packages, runit services, rootfs overlay, Ukrainian locale, live user with autologin - Void builder container, build scripts, QEMU runner and Makefile - Bilingual README with screenshots Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# Template file for 'das-theme'
|
|
# In-tree package: sources are in files/ (FILESDIR).
|
|
pkgname=das-theme
|
|
version=0.1.0
|
|
revision=1
|
|
create_wrksrc=yes
|
|
hostmakedepends="go"
|
|
depends="adw-gtk3 adwaita-icon-theme font-inter font-jetbrains-mono noto-fonts-ttf
|
|
noto-fonts-emoji papirus-icon-theme"
|
|
short_desc="Das OS look: GTK and xfwm4 themes, wallpapers and logo"
|
|
maintainer="Das <anry.das@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://git.das.org.ua/das/Das-OS"
|
|
|
|
do_build() {
|
|
cp -rL "${FILESDIR}/." .
|
|
cd xfwm4gen
|
|
export GOCACHE="${wrksrc}/.gocache" GOTOOLCHAIN=local GOFLAGS="-trimpath"
|
|
go test ./...
|
|
go build -o xfwm4gen .
|
|
./xfwm4gen -variant light -out "${wrksrc}/gtk/DasOS/xfwm4"
|
|
./xfwm4gen -variant dark -out "${wrksrc}/gtk/DasOS-Dark/xfwm4"
|
|
}
|
|
|
|
do_install() {
|
|
local theme
|
|
for theme in DasOS DasOS-Dark; do
|
|
vinstall "gtk/${theme}/index.theme" 644 "usr/share/themes/${theme}"
|
|
vinstall "gtk/${theme}/gtk-3.0/gtk.css" 644 "usr/share/themes/${theme}/gtk-3.0"
|
|
vmkdir "usr/share/themes/${theme}/xfwm4"
|
|
install -m644 "gtk/${theme}/xfwm4/"* "${DESTDIR}/usr/share/themes/${theme}/xfwm4/"
|
|
done
|
|
|
|
vinstall backgrounds/das-light.svg 644 usr/share/backgrounds/das
|
|
vinstall backgrounds/das-dark.svg 644 usr/share/backgrounds/das
|
|
vinstall branding/das-logo.svg 644 usr/share/icons/hicolor/scalable/apps
|
|
vinstall branding/das-logo.svg 644 usr/share/pixmaps
|
|
vlicense LICENSE
|
|
}
|