🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
pkgname: libsecret
pkgver: '0.21.7'
pkgrel: '1'
pkgdesc: 'The libsecret package contains a GObject based library for accessing the Secret Service API.'
url: 'https://www.gnome.org/'
arch: x86_64
license:
- 'GPL2.1 APACHE'
depends: []
makedepends:
- 'gtk-doc'
- intltool
- libxslt
- 'docbook-xsl'
- glib
- 'gobject-introspection'
- libgcrypt
- vala
source:
- 'https://download.gnome.org/sources/${pkgname}/0.21/${pkgname}-${pkgver}.tar.xz'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
mkdir bld
cd bld
meson setup .. \
--prefix=/usr \
-Dgtk_doc=false \
-Dmanpage=false
ninja
DESTDIR=${PKGDIR} ninja install
install -Dm644 ../COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
install -Dm644 ../COPYING.TESTS ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING.TESTS
package: |
true
update: |
local latest lastversion url
url="https://download.gnome.org/sources/${pkgname}"
latest="`lynx -read_timeout=20 -dump -listonly -nonumbers \
$url/?C=N\;O=D|grep [0-9]/$|head -1`"
lastversion="`lynx -read_timeout=20 -dump -listonly -nonumbers \
$latest/?C=N\;O=D|grep LATEST|grep [0-9]$|cut -d "-" -f3`"
echo "$lastversion"