contrib/gcr/Pkgfile

27 lines
746 B
Plaintext
Raw Normal View History

2015-05-17 05:22:44 +02:00
# Description: Libraries for cryptographic UIs and accessing PKCS#11 modules.
# URL: https://developer.gnome.org/gcr/
# Maintainer: Danny Rawlins, crux at romster dot me
2019-11-09 10:15:15 +01:00
# Depends on: gnupg gtk3 p11-kit vala xorg-libxcomposite xorg-libxcursor xorg-libxinerama
2015-05-17 05:22:44 +02:00
name=gcr
2020-06-14 12:08:53 +02:00
version=3.36.0
2018-09-02 10:25:15 +02:00
release=1
source=(https://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz)
2015-05-17 05:22:44 +02:00
build() {
2020-06-14 12:08:53 +02:00
meson setup build $name-$version \
2015-05-17 05:22:44 +02:00
--prefix=/usr \
2020-06-14 12:08:53 +02:00
--libexecdir=/usr/lib \
-D gtk_doc=false
ninja -j ${JOBS-1} -C build
DESTDIR=$PKG meson install -C build
2015-05-17 05:22:44 +02:00
2020-06-14 12:08:53 +02:00
rm -r $PKG/usr/share/locale
2015-05-17 05:22:44 +02:00
2020-06-14 12:08:53 +02:00
# https://bugzilla.gnome.org/show_bug.cgi?id=688161
install -Dm 644 /dev/stdin "$PKG/etc/security/limits.d/10-gcr.conf" <<END
@users - memlock 1024
END
2015-05-17 05:22:44 +02:00
}