53 lines
1.0 KiB
Plaintext
53 lines
1.0 KiB
Plaintext
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
|
# Maintainer: Fabian Bornschein <fabiscafe@archlinux.org>
|
|
|
|
pkgname=glib-networking
|
|
pkgver=2.78.1
|
|
pkgrel=1
|
|
epoch=1
|
|
pkgdesc="Network extensions for GLib"
|
|
url="https://gitlab.gnome.org/GNOME/glib-networking"
|
|
arch=(x86_64)
|
|
license=(LGPL-2.1-or-later)
|
|
depends=(
|
|
glib2
|
|
gnutls
|
|
gsettings-desktop-schemas
|
|
libproxy
|
|
)
|
|
makedepends=(
|
|
git
|
|
meson
|
|
)
|
|
checkdepends=(ca-certificates)
|
|
_commit=ff3ed94057edfd2e4d4c45c5e53e5b41d19fad6a # tags/2.78.1^0
|
|
source=("git+https://gitlab.gnome.org/GNOME/glib-networking.git#commit=$_commit")
|
|
b2sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd glib-networking
|
|
git describe --tags | sed -r 's/\.([a-z])/\1/;s/([a-z])\./\1/;s/[^-]*-g/r&/;s/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd glib-networking
|
|
}
|
|
|
|
build() {
|
|
local meson_options=(
|
|
)
|
|
|
|
arch-meson glib-networking build "${meson_options[@]}"
|
|
meson compile -C build
|
|
}
|
|
|
|
check() {
|
|
meson test -C build --print-errorlogs
|
|
}
|
|
|
|
package() {
|
|
meson install -C build --destdir "$pkgdir"
|
|
}
|
|
|
|
# vim:set sw=2 sts=-1 et:
|