milis/talimatname/genel/f/flameshot/talimat

34 lines
1.4 KiB
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: Güçlü ve kullanımı kolay ekran görüntüsü yazılımı
# URL: https://github.com/lupoDharkael/flameshot
# Paketçi: Cihan_Alkan
# Gerekler: qt5
# Grup: grafik_tasarım
isim=flameshot
surum=0.5.1
devir=1
kaynak=(https://github.com/lupoDharkael/flameshot/archive/v$surum.tar.gz::$isim-$surum.tar.gz
flame-Internationalization_tr.ts
flameshot-init.desktop
flameshot.desktop)
derle() {
cd $isim-$surum
cp ../*.desktop ./docs/desktopEntry/package/
qmake
make
install -Dm755 "./flameshot" "${PKG}/usr/bin/flameshot"
#install -Dm644 "./dbus/package/org.dharkael.Flameshot.service" "${PKG}/usr/share/dbus-1/services/org.dharkael.Flameshot.service"
install -Dm644 "./dbus/org.dharkael.Flameshot.xml" "${PKG}/usr/share/dbus-1/interfaces/org.dharkael.Flameshot.xml"
install -Dm644 "./docs/desktopEntry/package/flameshot.desktop" "${PKG}/usr/share/applications/flameshot.desktop"
install -Dm644 "./docs/desktopEntry/package/flameshot-init.desktop" "${PKG}/usr/share/applications/flameshot-init.desktop"
install -Dm644 "./img/flameshot.png" "${PKG}/usr/share/icons/flameshot.png"
mkdir -p ${PKG}/usr/share/flameshot/translations
install -Dm644 ./translations/*.qm ${PKG}/usr/share/flameshot/translations/
/usr/lib/qt5/bin/lrelease $SRC/flame-Internationalization_tr.ts -qm ${PKG}/usr/share/flameshot/translations/Internationalization_tr.qm
}