Fabian Bornschein pushed to branch main at Arch Linux / Packaging / Packages / uhttpmock
Commits: 11a661a2 by Fabian Bornschein at 2024-03-05T13:29:37+01:00 upgpkg: 0.10.0-1 - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,20 @@ +pkgbase = uhttpmock + pkgdesc = HTTP web service mocking project for projects which use libsoup + pkgver = 0.10.0 + pkgrel = 1 + url = https://gitlab.freedesktop.org/pwithnall/uhttpmock + arch = x86_64 + license = LGPL-2.1-or-later + makedepends = git + makedepends = gobject-introspection + makedepends = gtk-doc + makedepends = meson + makedepends = vala + depends = gcc-libs + depends = glib2 + depends = glibc + depends = libsoup3 + source = git+https://gitlab.freedesktop.org/pwithnall/uhttpmock.git#commit=38a95734050f35165dd8d222476dd0828d80cbfa + sha256sums = SKIP + +pkgname = uhttpmock ===================================== PKGBUILD ===================================== @@ -1,25 +1,47 @@ -# Maintainer: +# Maintainer: Fabian Bornschein <[email protected]> # Contributor: Jan de Groot <[email protected]> pkgname=uhttpmock -pkgver=0.9.0 +pkgver=0.10.0 pkgrel=1 pkgdesc="HTTP web service mocking project for projects which use libsoup" url="https://gitlab.freedesktop.org/pwithnall/uhttpmock" -depends=('glib2' 'libsoup3') -makedepends=('meson' 'gtk-doc') -license=('LGPL2.1') +depends=( + gcc-libs + glib2 + glibc + libsoup3 +) +makedepends=( + git + gobject-introspection + gtk-doc + meson + vala +) +license=(LGPL-2.1-or-later) arch=(x86_64) -source=(https://gitlab.freedesktop.org/pwithnall/uhttpmock/-/archive/$pkgver/uhttpmock-$pkgver.tar.gz) -sha256sums=('9fbcdcbc3e4b1ccde2281e3010f169036862423c936ffc8904ab30daad474b07') +_commit=38a95734050f35165dd8d222476dd0828d80cbfa # tags/0.10.0^0 +source=("git+https://gitlab.freedesktop.org/pwithnall/uhttpmock.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' +} build() { - meson build $pkgname-$pkgver \ - --prefix=/usr \ - -D introspection=false + local meson_options=( + ) + + arch-meson $pkgname build "${meson_options[@]}" meson compile -C build } +check() { + meson test -C build --print-errorlogs +} + package() { - meson install -C build --destdir="$pkgdir" + meson install -C build --destdir "$pkgdir" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/uhttpmock/-/commit/11a661a21a479ed11a8b649bb1f95ea5962d1f64 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/uhttpmock/-/commit/11a661a21a479ed11a8b649bb1f95ea5962d1f64 You're receiving this email because of your account on gitlab.archlinux.org.
