diff --git a/talimatname/genel/x/xnviewmp/talimat b/talimatname/genel/x/xnviewmp/talimat new file mode 100644 index 000000000..9c6e20ea5 --- /dev/null +++ b/talimatname/genel/x/xnviewmp/talimat @@ -0,0 +1,28 @@ +# Tanım: Etkili bir multimedya görüntüleyici,tarayıcı ve dönüştürücü. +# URL: http://www.xnview.com/en/xnviewmp/ +# Paketçi: Cihan_Alkan +# Gerekler: qt5 desktop-file-utils +# Grup: medya + +isim=xnviewmp +surum=0.89 +devir=1 +kaynak=(http://download.xnview.com/XnViewMP-linux-x64.tgz + xnviewmp.desktop) + +derle() { + install -d -m755 "${PKG}/opt/${isim}" + install -d -m755 "${PKG}/usr/bin" + install -d -m755 "${PKG}/usr/share/applications" + + cp -a "${SRC}/XnView"/* "${PKG}/opt/${isim}" + ln -s "/opt/${isim}/xnview.sh" "${PKG}/usr/bin/${isim}" + + install -m644 "${SRC}/${isim}.desktop" "${PKG}/usr/share/applications/${isim}.desktop" + install -D -m644 "${SRC}/XnView/license.txt" "${PKG}/usr/share/licenses/${isim}/LICENSE" + + # Clean up + rm "${PKG}/opt/${isim}/XnView.desktop"{,~} + chmod -x "${PKG}/opt/${isim}/xnview.png" +} + diff --git a/talimatname/genel/x/xnviewmp/xnviewmp.desktop b/talimatname/genel/x/xnviewmp/xnviewmp.desktop new file mode 100644 index 000000000..850cb932a --- /dev/null +++ b/talimatname/genel/x/xnviewmp/xnviewmp.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Terminal=0 +Exec=/usr/bin/xnviewmp %F +Icon=/opt/xnviewmp/xnview.png +Type=Application +Categories=Graphics; +StartupNotify=true +Name=XnView Multi Platform +GenericName=XnViewMP +MimeType=image/bmp;image/gif;image/x-portable-bitmap;image/x-portable-pixmap;image/x-psd;image/x-tga;image/x-xbitmap;image/tiff;image/jpeg;image/x-psd;image/png;image/x-icon;image/x-xpixmap;image/svg+xml;