Natanael Copa 6867e384db community: remove my contributor comment
git log is enough for me
2025-01-03 18:06:09 +01:00

80 lines
1.6 KiB
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libproxy
pkgver=0.5.9
pkgrel=0
pkgdesc="Library handling all the details of proxy configuration"
url="https://github.com/libproxy/libproxy"
arch="all"
license="LGPL-2.0-or-later"
makedepends="
curl-dev
duktape-dev
glib-dev
gobject-introspection-dev
gsettings-desktop-schemas-dev
meson
python3
vala
"
subpackages="
$pkgname-dev
$pkgname-doc
$pkgname-bin
"
source="$pkgname-$pkgver.tar.gz::https://github.com/libproxy/libproxy/archive/refs/tags/$pkgver.tar.gz"
# secfixes:
# 0.4.15-r9:
# - CVE-2020-26154
# 0.4.15-r8:
# - CVE-2020-25219
build() {
abuild-meson \
-Db_lto=true \
-Dtests="$(want_check && echo true || echo false)" \
-Ddocs=false \
-Drelease=true \
. output
meson compile -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
bin() {
pkgdesc="Binary to test libproxy"
amove usr/bin/proxy
}
gnome3() {
pkgdesc="$pkgdesc (GNOME 3 integration)"
install_if="$pkgname=$pkgver-r$pkgrel gnome-desktop"
amove usr/lib/libproxy/$pkgver/modules/config_gnome3.so
amove usr/lib/pxgsettings
}
kde() {
pkgdesc="$pkgdesc (KDE integration)"
install_if="$pkgname=$pkgver-r$pkgrel plasma-desktop"
amove usr/lib/libproxy/$pkgver/modules/config_kde.so
}
pacrunner() {
pkgdesc="$pkgdesc (pacrunner integration)"
amove usr/lib/libproxy/$pkgver/modules/config_pacrunner.so
}
sha512sums="
781fdd51ea8467f603a46dcab8d0e7a97eb4834acfbe57d00b103e2a075dd32eeb16aece88d4e018192eb58fe54f42aefd954873e6d8364836866d0167e063d5 libproxy-0.5.9.tar.gz
"