# Description: Libraries for cryptographic UIs and accessing PKCS#11 modules. # URL: https://developer.gnome.org/gcr/ # Maintainer: Danny Rawlins, crux at romster dot me # Depends on: gnupg gtk3 p11-kit util-linux vala xorg-libxcomposite xorg-libxcursor xorg-libxinerama name=gcr version=3.28.1 release=1 source=(https://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz) build() { cd $name-$version ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/gcr \ --disable-update-icon-cache \ --disable-update-mime \ --disable-nls sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make make DESTDIR=$PKG install rm -r $PKG/usr/share/{locale,gtk-doc} }