42 lines
850 B
Plaintext
42 lines
850 B
Plaintext
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
|
|
|
pkgname=glib-networking
|
|
pkgver=2.72.1
|
|
pkgrel=1
|
|
epoch=1
|
|
pkgdesc="Network extensions for GLib"
|
|
url="https://gitlab.gnome.org/GNOME/glib-networking"
|
|
arch=(x86_64)
|
|
license=(GPL2)
|
|
depends=(glib2 libproxy gnutls gsettings-desktop-schemas)
|
|
makedepends=(meson git)
|
|
checkdepends=(ca-certificates)
|
|
options=(debug)
|
|
_commit=ef728aeac99f8f0338d9691afa3c1534140ffd14 # tags/2.72.1^0
|
|
source=("git+https://gitlab.gnome.org/GNOME/glib-networking.git#commit=$_commit")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
}
|
|
|
|
build() {
|
|
arch-meson $pkgname build
|
|
meson compile -C build
|
|
}
|
|
|
|
check() {
|
|
meson test -C build --print-errorlogs
|
|
}
|
|
|
|
package() {
|
|
meson install -C build --destdir "$pkgdir"
|
|
}
|
|
|
|
# vim:set sw=2 et:
|