Skip to content

Commit

Permalink
fix ctwm
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen-sz committed Dec 17, 2024
1 parent f904901 commit 24fe931
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion anda/desktops/ctwm/anda.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project pkg {
project pkg {
rpm {
spec = "ctwm.spec"
}
Expand Down
7 changes: 7 additions & 0 deletions anda/desktops/ctwm/ctwm.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Name=CTWM
Comment=Claude's Tab Window Manager
TryExec=ctwm
Exec=ctwm
Type=Xsession
Encoding=UTF-8
8 changes: 4 additions & 4 deletions anda/desktops/ctwm/ctwm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Name: ctwm
Version: 4.1.0
Release: 1%?dist
URL: https://ctwm.org
BuildRequires: libx11-devel libjpg-devel libxt-devel libxext-devel libxmu-devel libxpm-devel cmake
Source0: https://www.ctwm.org/dist/%{name}-%{version}.tar.gz
BuildRequires: libjpeg-turbo-devel libX11-devel libXext-devel libXmu-devel libXpm-devel libXt-devel libXrandr-devel cmake gcc m4
Source0: https://www.ctwm.org/dist/%{name}-%{version}.tar.xz
Source1: %{name}.desktop
License: MIT
Requires: m4
Requires: m4
# Derived from RPMSphere's packaging

%description
Expand All @@ -22,7 +22,7 @@ CTWM is a window manager based on TWM (with virtual workspaces added.)

%install
%cmake_install
%{__install} -Dm644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
%{__install} -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/xsessions/%{name}.desktop

%files
%doc README.md CHANGES.md
Expand Down
1 change: 1 addition & 0 deletions anda/desktops/ctwm/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(find("<p>Current release: ([\\d.]+)</p>", get("https://www.ctwm.org/download.html"), 1));

0 comments on commit 24fe931

Please sign in to comment.