app=libglade
version=2.6.4
build=1sml
homepage="https://glade.gnome.org/"
download="https://download.gnome.org/sources/libglade/2.6/libglade-2.6.4.tar.bz2"
desc="User Interface Builder for GTK+ applications"
requires="libxml2 gtk2 "

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  printf "all:\n\ttrue\n\ninstall:\n\ttrue\n\n" > tests/Makefile.in

  ./configure \
    --prefix="" \
    $builddist

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
632eca6cd764f9051b46cd7d29fb68863d6a26fbcb4e6f43890eaf7d5dc2e213e82f47efa0b5df7ee1c5a196ea63fc6d9205920bb6a3e330eca7edaae169e91b  libglade-2.6.4.tar.lz
"
