build samples/xmonadpropwrite
This commit is contained in:
parent
de70e30d72
commit
a317baba83
|
@ -66,6 +66,9 @@ color management, output templates, and extensibility through plugins.
|
||||||
%build
|
%build
|
||||||
%define cabal_configure_options --flags="with_utf8 with_xft %{?with_hinotify:with_inotify} %{?with_libmpd:with_mpd} %{?with_iwlib:with_iwlib}"
|
%define cabal_configure_options --flags="with_utf8 with_xft %{?with_hinotify:with_inotify} %{?with_libmpd:with_mpd} %{?with_iwlib:with_iwlib}"
|
||||||
%ghc_bin_build
|
%ghc_bin_build
|
||||||
|
cd samples
|
||||||
|
%{_bindir}/ghc %{!?ghc_without_dynamic:-dynamic} --make xmonadpropwrite.hs
|
||||||
|
cd -
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -73,6 +76,7 @@ desktop-file-install \
|
||||||
--dir=%{buildroot}%{_datadir}/applications \
|
--dir=%{buildroot}%{_datadir}/applications \
|
||||||
%{SOURCE1}
|
%{SOURCE1}
|
||||||
%ghc_bin_install
|
%ghc_bin_install
|
||||||
|
install --mode=0755 -p samples/xmonadpropwrite %{buildroot}%{_bindir}/xmonadpropwrite
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
|
Loading…
Reference in New Issue