From a317baba83ef3e890ff0dc5095eb7654dfd1230f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Aug 2011 17:40:05 +0900 Subject: [PATCH] build samples/xmonadpropwrite --- xmobar.spec | 4 ++++ 1 file changed, 4 insertions(+) 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