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-0.20.3.tar.xz'
DESC="GObject based library to access the Secret Service API"
REQUIRES="libgcrypt glib"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --disable-static \
    --disable-introspection

  make
  make install DESTDIR=$PKG

  cp COPYING* $PKGDOCS/

  mkfinalpkg
}

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