# Tanım: GTK+3 kullanan döşemeli(tiling) terminali emülatörü
# URL: https://github.com/gnunn1/tilix
# Paketçi: Cihan_Alkan 
# Gerekler: dmd dub glib gettext desktop-file-utils gtk-update-icon-cache xdg-utils
# Grup: sistem

isim=tilix
surum=1.8.7
devir=1

kaynak=(https://github.com/gnunn1/tilix/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
    cd $isim-$surum
    dub build --build=release
    ./install.sh $PKG/usr
    update-mime-database /usr/share/mime
    gtk-update-icon-cache
    cd data/resources
    glib-compile-resources tilix.gresource.xml
    install -m 644 tilix.gresource $PKG/usr/share/tilix/resources/
}
