Name: sonar-artworks Version: 20190119git Release: 1mamba Summary: Sonar Linux Artworks Group: System/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/manjaro/sonar-artworks ## GITSOURCE https://github.com/manjaro/sonar-artworks.git master Source: https://github.com/manjaro/sonar-artworks.git/master/sonar-artworks-%{version}.tar.bz2 License: BSD ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: sound-theme-freedesktop BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Sonar Linux Artworks. %prep %setup -q %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -d -m0755 %{buildroot}%{_datadir}/sounds/freedesktop/stereo cp -a sounds/sonar %{buildroot}%{_datadir}/sounds/ ln -s ../../sonar/stereo/system-ready.oga %{buildroot}%{_datadir}/sounds/freedesktop/stereo/system-bootup.oga ln -s ../../sonar/stereo/system-shutdown.oga %{buildroot}%{_datadir}/sounds/freedesktop/stereo/system-shutdown.oga #for f in %{buildroot}%{_datadir}/sounds/sonar/stereo/*.oga; do # [ -e %{_datadir}/sounds/freedesktop/stereo/`basename $f` ] || \ # ln -s ../../sonar/stereo/`basename $f` %{buildroot}%{_datadir}/sounds/freedesktop/stereo/`basename $f` #done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %dir %{_datadir}/sounds/sonar %{_datadir}/sounds/sonar/* %{_datadir}/sounds/freedesktop/stereo/* %changelog * Sat Jan 19 2019 Silvan Calarco 20190119git-1mamba - package created using the webbuild interface