Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
anki
anki-Makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File anki-Makefile.patch of Package anki
--- Makefile.orig 2013-12-09 03:51:52.000000000 +0100 +++ Makefile 2015-06-19 06:38:33.013147195 +0200 @@ -6,24 +6,34 @@ @echo "Uninstall with 'sudo make uninstall'" install: - rm -rf ${DESTDIR}${PREFIX}/share/anki mkdir -p ${DESTDIR}${PREFIX}/share/anki - cp -av * ${DESTDIR}${PREFIX}/share/anki/ - cd ${DESTDIR}${PREFIX}/share/anki && (\ - mv runanki ${DESTDIR}${PREFIX}/local/bin/anki;\ - test -d ${DESTDIR}${PREFIX}/share/pixmaps &&\ - mv anki.xpm anki.png ${DESTDIR}${PREFIX}/share/pixmaps/;\ - mv anki.desktop ${DESTDIR}${PREFIX}/share/applications;\ - mv anki.1 ${DESTDIR}${PREFIX}/share/man/man1/) - xdg-mime install anki.xml --novendor - xdg-mime default anki.desktop application/x-anki - xdg-mime default anki.desktop application/x-apkg + cp -av anki aqt designer \ + ${DESTDIR}${PREFIX}/share/anki/ + mkdir -p ${DESTDIR}${PREFIX}/bin + cp -av runanki ${DESTDIR}${PREFIX}/bin/anki + mkdir -p ${DESTDIR}${PREFIX}/share/anki/aqt/locale + mkdir -p qt-locale && mv locale/qt* ./qt-locale/ + cp -av qt-locale/* ${DESTDIR}${PREFIX}/share/anki/aqt/locale/ + mkdir -p ${DESTDIR}${PREFIX}/share/locale + cp -av locale/* ${DESTDIR}${PREFIX}/share/locale/ + mkdir -p ${DESTDIR}${PREFIX}/share/pixmaps + test -d ${DESTDIR}${PREFIX}/share/pixmaps && \ + cp -av anki.xpm anki.png ${DESTDIR}${PREFIX}/share/pixmaps/ + mkdir -p ${DESTDIR}${PREFIX}/share/applications + cp -av anki.desktop ${DESTDIR}${PREFIX}/share/applications/ + mkdir -p ${DESTDIR}${PREFIX}/share/man/man1 + cp -av anki.1 ${DESTDIR}${PREFIX}/share/man/man1/ + mkdir -p ${DESTDIR}${PREFIX}/share/mime/packages + cp -av anki.xml ${DESTDIR}${PREFIX}/share/mime/packages/ +# xdg-mime install anki.xml --novendor +# xdg-mime default anki.desktop application/x-anki +# xdg-mime default anki.desktop application/x-apkg @echo @echo "Install complete." uninstall: rm -rf ${DESTDIR}${PREFIX}/share/anki - rm -rf ${DESTDIR}${PREFIX}/local/bin/anki + rm -rf ${DESTDIR}${PREFIX}/bin/anki rm -rf ${DESTDIR}${PREFIX}/share/pixmaps/anki.xpm rm -rf ${DESTDIR}${PREFIX}/share/pixmaps/anki.png rm -rf ${DESTDIR}${PREFIX}/share/applications/anki.desktop
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor