# Tanım: Gtk+ genişletilmiş kütüphanesi
# URL: https://github.com/elementary/granite
# Paketçi: milisarge
# Gerekler: cmake gobject-introspection vala cairo gdk-pixbuf glib gtk3 libgee pango 
# Grup: kütüphane

isim=granite
surum=0.4.1
devir=1
kaynak=(https://github.com/elementary/granite/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
  cd granite-${surum}

  if [[ -d build ]]; then
    rm -rf build
  fi

  mkdir build
  cd build
  cmake .. \
    -DCMAKE_BUILD_TYPE='Release' \
    -DCMAKE_INSTALL_PREFIX='/usr' \
    -DCMAKE_INSTALL_LIBDIR='/usr/lib'

  make
  make DESTDIR="${PKG}" install
}
