2022-07-17 00:08:29 +02:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
|
|
# Website : https://pozol.eu
|
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
pkgname=glib-networking
|
2023-03-18 10:35:55 +01:00
|
|
|
pkgver=2.76.0
|
2022-07-17 00:08:29 +02:00
|
|
|
pkgrel=01
|
|
|
|
epoch=1
|
|
|
|
pkgdesc="Network extensions for GLib w/o systemd"
|
|
|
|
url="https://gitlab.gnome.org/GNOME/glib-networking"
|
|
|
|
depends=(glib2 libproxy gnutls gsettings-desktop-schemas)
|
2023-03-18 10:35:55 +01:00
|
|
|
makedepends=(meson git libxml2)
|
2022-07-17 00:08:29 +02:00
|
|
|
checkdepends=(ca-certificates)
|
|
|
|
# options=(debug) ## uncomment this line to have the debug pkg produced
|
2023-03-18 10:35:55 +01:00
|
|
|
_commit=eab226398f9872c381033f7cb3af43dcb66600f4 # tags/2.76.0^0
|
2022-07-17 00:08:29 +02:00
|
|
|
source=("git+https://gitlab.gnome.org/GNOME/glib-networking.git#commit=$_commit")
|
|
|
|
|
|
|
|
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"
|
|
|
|
rm -rf $pkgdir/usr/lib/systemd
|
|
|
|
}
|
|
|
|
|
2023-03-18 10:35:55 +01:00
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
|
|
|
|
arch=(x86_64)
|
2022-07-17 00:08:29 +02:00
|
|
|
|
|
|
|
license=(GPL2)
|
|
|
|
|
2022-09-20 23:37:36 +02:00
|
|
|
sha256sums=(SKIP)
|
|
|
|
|
2023-03-18 10:35:55 +01:00
|
|
|
## 253b3883d4bc41db49b5e69c7a13a619ede0ddd9afe67c5db925dde2d7dacc44 glib-networking-1:2.76.0-01-x86_64.pkg.tar.lz
|
2022-07-17 00:08:29 +02:00
|
|
|
|