summaryrefslogtreecommitdiff
path: root/gcr/Pkgfile
blob: 53bbe13ea9c0fe4fd546e3849255792a340cebb2 (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.40.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 		--buildtype=plain \
   16 		-D gtk_doc=false
   17 
   18 	meson compile -C build -j ${JOBS-1}
   19 	DESTDIR=$PKG meson install -C build
   20 
   21 	rm -r $PKG/usr/share/locale
   22 
   23 	# https://bugzilla.gnome.org/show_bug.cgi?id=688161
   24 	install -Dm 644 /dev/stdin "$PKG/etc/security/limits.d/10-gcr.conf" <<END
   25 @users - memlock 1024
   26 END
   27 }

Generated by cgit