# Tanım: İşlevsel metin düzenleyici
# URL: http://www.scintilla.org/SciTE.html
# Paketçi: milisarge
# Gerekler: gtk3 
# Grup: ofis

isim=scite
surum=4.0.2
devir=1
kaynak=(https://www.scintilla.org/scite${surum//./}.tgz)

derle() {
  GTK3=1 make -C "scintilla/gtk"
  GTK3=1 make -C "$isim/gtk"
  GTK3=1 make -C "$isim/gtk" DESTDIR="$PKG" install
  install -Dm644 "$isim/License.txt" "$PKG/usr/share/licenses/$isim/LICENSE-scite"
  install -Dm644 "scintilla/License.txt" "$PKG/usr/share/licenses/$isim/LICENSE-scintilla"
  ln -sf "/usr/bin/SciTE" "$PKG/usr/bin/scite"
}
