# Tanım: BlankOn Projelerinden HTML5 masaüstü kabuğu
# URL: https://manokwari.blankonlinux.or.id
# Paketçi: Cihan_Alkan
# Gerekler: gnome-common vala mutter libunique3 gnome-session glib gtk3 libwnck3 libgee webkitgtk3 gnome-menus libnotify
# Grup: manokwari

isim=manokwari
surum=1.0.20
devir=1
kaynak=(https://github.com/BlankOn/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
 cd ${isim}-${surum}
  # Use libgee 0.8 rather than libgee 0.6
  sed -i 's/gee-1.0/gee-0.8/g' configure.ac
  # Install documentation to the correct location
  sed -i 's:\(manokwaridocdir =\).*:\1 ${prefix}/share/doc/manokwari:' Makefile.am
  cat << @@@ > files/bin/Makefile.am
sessiondir = $(bindir)
dist_bin_SCRIPTS = blankon-session
CLEANFILES = $(dist_bin_SCRIPTS)
@@@
  ./autogen.sh --prefix=/usr
  make

  make DESTDIR="$PKG/" install
#  chmod +x $PKG/usr/bin/blankon-session
}
