diff --git a/ostree/PKGBUILD b/ostree/PKGBUILD index 533050fd51..b1c051b544 100644 --- a/ostree/PKGBUILD +++ b/ostree/PKGBUILD @@ -1,11 +1,9 @@ -# POWER Maintainer: Alexander Baldeck # Maintainer: David Runge # Contributor: Jan Alexander Steffens (heftig) # Contributor: Mirco Tischler pkgname=ostree -_commit=d43386f15dd1a64fb153b1763a64bfc258cf7fc0 # tags/v2024.3^{} -pkgver=2024.3 +pkgver=2024.5 pkgrel=1 pkgdesc="Operating system and container binary deployment and upgrades" url="https://ostreedev.github.io/ostree/" @@ -20,6 +18,7 @@ depends=( libsodium sh util-linux + which # remove after https://github.com/ostreedev/ostree/pull/3154 is merged and released zlib ) makedepends=( @@ -50,13 +49,13 @@ checkdepends=( ) provides=(libostree-1.so) source=( - git+https://github.com/ostreedev/ostree#commit=$_commit + git+https://github.com/ostreedev/ostree#tag=v$pkgver git+https://github.com/containers/composefs.git git+https://github.com/mendsley/bsdiff git+https://gitlab.gnome.org/GNOME/libglnx.git $pkgname-2023.1-use_fuse3.patch ) -b2sums=('SKIP' +b2sums=('25dd16ad1356ec22807242a210f60482d28893250f9c23f861887406e5ba947fc2f41dfba2082dce7cbb3ea675f3b799a58dfda141c5ae8b537bd1393d942f47' 'SKIP' 'SKIP' 'SKIP' @@ -65,6 +64,11 @@ b2sums=('SKIP' # https://github.com/ostreedev/ostree/issues/2349 validpgpkeys=('1CEC7A9DF7DA85ABEF843DC0A866D7CCAE087291') # Colin Walters +pkgver() { + cd $pkgname + git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g' +} + prepare() { cd $pkgname