contrib/gcr/Pkgfile
2019-11-09 20:32:08 +11:00

28 lines
697 B
Plaintext

# 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 vala xorg-libxcomposite xorg-libxcursor xorg-libxinerama
name=gcr
version=3.34.0
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-gtk-doc \
--disable-nls
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/gtk-doc
}