# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libsecret
version=0.20.3
build=1sml
homepage="https://wiki.gnome.org/Projects/Libsecret"
download="https://download.gnome.org/sources/libsecret/0.20/libsecret-$version.tar.xz"
desc="GObject based library to access the Secret Service API"
requires="libgcrypt glib"

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

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

build() {

  ./configure \
    --prefix= \
    --disable-static \
    --disable-introspection

  make
  make install DESTDIR=$pkg

  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
fbc344cc236a24f53e43d96e8d8b55ae45e7f9391c0443c6739098b356a5cf35701744760991811bfe043569087fe115ba1037f403b0c7ab711c5e1cbaafdc1f  libsecret-0.20.3.tar.lz
"
