* add uhttpmock
This commit is contained in:
parent
2c1e1e1544
commit
afb0ce9cc8
20
uhttpmock/.SRCINFO
Normal file
20
uhttpmock/.SRCINFO
Normal file
@ -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
|
48
uhttpmock/PKGBUILD
Normal file
48
uhttpmock/PKGBUILD
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||||
|
# Maintainer: Fabian Bornschein <fabiscafe@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
|
||||||
|
pkgname=uhttpmock
|
||||||
|
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=(
|
||||||
|
gcc-libs
|
||||||
|
glib2
|
||||||
|
glibc
|
||||||
|
libsoup3
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
git
|
||||||
|
gobject-introspection
|
||||||
|
gtk-doc
|
||||||
|
meson
|
||||||
|
vala
|
||||||
|
)
|
||||||
|
license=(LGPL-2.1-or-later)
|
||||||
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
|
_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() {
|
||||||
|
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"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user