milis/talimatname/genel/f/flameshot/talimat

34 lines
1.4 KiB
Plaintext
Raw Normal View History

2018-01-12 18:08:13 +01:00
# 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
2018-07-20 09:48:51 +02:00
# Grup: tasarım
2018-01-12 18:08:13 +01:00
isim=flameshot
2018-07-20 22:45:55 +02:00
surum=0.6.0
2018-01-12 18:08:13 +01:00
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/
2018-07-20 22:35:57 +02:00
qmake-qt5
2018-01-12 18:08:13 +01:00
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
2018-03-06 10:17:20 +01:00
install -Dm644 ./translations/*.qm ${PKG}/usr/share/flameshot/translations/
2018-01-12 18:08:13 +01:00
/usr/lib/qt5/bin/lrelease $SRC/flame-Internationalization_tr.ts -qm ${PKG}/usr/share/flameshot/translations/Internationalization_tr.qm
}