summaryrefslogtreecommitdiff
path: root/gcr/Pkgfile
blob: 1b1e0441eaf9710bd7a1652250b33e417b9c1173 (plain)
    1 # Description: Libraries for cryptographic UIs and accessing PKCS#11 modules.
    2 # URL: https://developer.gnome.org/gcr/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: gnupg gtk3 p11-kit vala xorg-libxcomposite xorg-libxcursor xorg-libxinerama
    5 
    6 name=gcr
    7 version=3.38.0
    8 release=1
    9 source=(https://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz)
   10 
   11 build() {
   12 	meson setup build $name-$version \
   13 		--prefix=/usr \
   14 		--libexecdir=/usr/lib \
   15 		-D gtk_doc=false
   16 
   17 	ninja -j ${JOBS-1} -C build
   18 	DESTDIR=$PKG meson install -C build
   19 
   20 	rm -r $PKG/usr/share/locale
   21 
   22 	# https://bugzilla.gnome.org/show_bug.cgi?id=688161
   23 	install -Dm 644 /dev/stdin "$PKG/etc/security/limits.d/10-gcr.conf" <<END
   24 @users - memlock 1024
   25 END
   26 }

Generated by cgit