build samples/xmonadpropwrite

This commit is contained in:
Jens Petersen 2011-08-04 17:40:05 +09:00
parent de70e30d72
commit a317baba83
1 changed files with 4 additions and 0 deletions

View File

@ -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