This commit is contained in:
milisbir 2018-01-27 09:04:04 +02:00
parent 186d42f04e
commit 5ceac39d56
2 changed files with 39 additions and 0 deletions

View File

@ -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"
}

View File

@ -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;