APP=pangomm
VERSION=2.38.1
BUILD=1sml
HOMEPAGE="https://gtkmm.org"
DOWNLOAD="https://gitlab.gnome.org/GNOME/pangomm/-/archive/2.38.1/pangomm-2.38.1.tar.bz2"
DESC="C++ API for pango"
REQUIRES="pango glibmm cairomm "

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc 

  for i in docs ; do
   printf 'all:\n\ttrue\ninstall:\n\ttrue\nclean:\n\ttrue\n' > "$i"/Makefile
  done

  make
  make install DESTDIR=$PKG

  cp COPYING* $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
386f702f97be35bb5567bff3e61a6f9d1091487e40b8fbf245b5bcd593914ce2ce191775dc2171d877b29b3f994d9b7428ae992af127b6b6d8bb768c65d0d4cf  pangomm-2.38.1.tar.lz
"
