FeignInt / dosbox-staging-deb

"deb" Packaging for https://github.com/dosbox-staging/dosbox-staging/
https://launchpad.net/~feignint/+archive/ubuntu/dosbox-staging
1 stars 0 forks source link

remove hacky .desktop ( and icons) rules #5

Closed FeignInt closed 4 years ago

FeignInt commented 4 years ago

Currently a very ugly debian/rules


  # Try in install .desktop and icons
  # but ignore errors
  install -DT -m 644 $(CURDIR)/contrib/linux/dosbox-staging.desktop \
   $(CURDIR)/debian/tmp/usr/share/applications/dosbox-staging.desktop || true
  cd $(CURDIR)/contrib/icons && \
    <Makefile sed -E \
     's|(install( [[:graph:]]+){4} +)|\1$(CURDIR)/debian/tmp/usr/share/|' \
     | make -f - hicolor && make clean || true