milis/talimatname/genel/x/xnviewmp/talimat

29 lines
845 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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