[xmobar] build samples/xmonadpropwrite
Jens Petersen
petersen at fedoraproject.org
Thu Aug 4 08:40:17 UTC 2011
commit a317baba83ef3e890ff0dc5095eb7654dfd1230f
Author: Jens Petersen <petersen at redhat.com>
Date: Thu Aug 4 17:40:05 2011 +0900
build samples/xmonadpropwrite
xmobar.spec | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/xmobar.spec b/xmobar.spec
index 39d6499..b686887 100644
--- a/xmobar.spec
+++ b/xmobar.spec
@@ -66,6 +66,9 @@ color management, output templates, and extensibility through plugins.
%build
%define cabal_configure_options --flags="with_utf8 with_xft %{?with_hinotify:with_inotify} %{?with_libmpd:with_mpd} %{?with_iwlib:with_iwlib}"
%ghc_bin_build
+cd samples
+%{_bindir}/ghc %{!?ghc_without_dynamic:-dynamic} --make xmonadpropwrite.hs
+cd -
%install
@@ -73,6 +76,7 @@ desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
%{SOURCE1}
%ghc_bin_install
+install --mode=0755 -p samples/xmonadpropwrite %{buildroot}%{_bindir}/xmonadpropwrite
%files
More information about the scm-commits
mailing list