milis/talimatname/genel/d/drawpile/talimat

37 lines
854 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: Kalem tabletleri ile özel olarak üretilen ortak çalışma çizimi programı
# URL: http://drawpile.net/
# Paketçi: Cihan_Alkan
# Gerekler: kf5-karchive qt5 ninja cmake
# Grup:
isim=drawpile
surum=2.0.5.1
devir=1
kaynak=(http://drawpile.net/files/src/${isim}-${surum}.tar.gz)
derle() {
_cmakeargs+=('-Wno-dev')
cd "${isim}-${surum}"
# Ensure build is an empty directory
rm -rf 'build'
mkdir -p 'build'
cd 'build'
cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -G Ninja "${_cmakeargs[@]}"
ninja
cd ../
DESTDIR="${PKG}" ninja -C 'build' install
install -Dvm644 "desktop/${isim}.svg" \
"${PKG}/usr/share/pixmaps/${isim}.svg"
install -Dvm644 "desktop/${isim}.desktop" \
"${PKG}/usr/share/applications/${isim}.desktop"
#Türkçe çeviri yapılacak
#cp -r drawpile_tr.ts /pkg/usr/share/drawpile/drawpile/i18n/drawpile_fi.qm
}