# Maintainer: PktSurf <smlinux@pktsurf.in>
app=gcr
version=3.16.0
build=1sml
homepage="https://gitlab.gnome.org/GNOME/gcr"
download="https://gitlab.gnome.org/GNOME/gcr/-/archive/$version/gcr-$version.tar.bz2"
desc="A library for bits of crypto UI and parsing"
requires="gtk3"

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

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

build() {
  ./configure \
    --prefix="" \
    --disable-schemas-compile \
    --disable-update-mime \
    --disable-update-icon-cache \
    --disable-vala \
    --disable-debug 

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
ea8a31c641d2bac14fb923cc726b4d49ca969f58948a4c598b48e99fc5c1eeb17fc458c3d843bcdb3db3f8668ce2cdab760fec34551e00d50cfc02d9c5d43580  gcr-3.16.0.tar.lz
"
