diff options
author | Doug Newgard | 2015-12-14 13:27:00 -0600 |
---|---|---|
committer | Doug Newgard | 2015-12-14 13:27:00 -0600 |
commit | 96af57c5ac7b7e009be58aeb3349c17ea125063d (patch) | |
tree | 684e9f71491301918508fd4d5ee1fde569a29b81 /PKGBUILD | |
parent | 0f83e55b9060e98cca9af502243068db3efba30f (diff) | |
download | aur-96af57c5ac7b7e009be58aeb3349c17ea125063d.tar.gz |
Nothing uses mimelnk anymore; install shared-mime-info files
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -90,13 +90,10 @@ package() { for icon in {qgis,qbrowser}_icon; do install -Dm644 images/icons/$icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/${icon%%_*}.svg" done - install -Dm644 images/icons/qgis-mime-icon.png "$pkgdir/usr/share/pixmaps/qgis-mime.png" - # TODO: these aren't working for some reason, ie, .qgs files are not opened by QGIS... - # Appears to be a conflict with some file types being defaulted to google-chrome/chromium if that's installed as well. - for mime in debian/mime/application/*.desktop - do install -Dm644 "$mime" -t "$pkgdir/usr/share/mimelnk/application/" - done + # install mime information and icon + install -Dm644 debian/qgis.xml "$pkgdir/usr/share/mime/packages/qgis.xml" + install -Dm644 images/icons/qgis-mime-icon.png "$pkgdir/usr/share/icons/hicolor/128x128/mimetypes/qgis-mime.png" # compile python files, since the cmake option doesn't seem to account for DESTDIR python2 -m compileall -q "$pkgdir" |