contrib/gcr/Pkgfile
2018-09-02 18:46:12 +10:00

27 lines
710 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 util-linux vala xorg-libxcomposite xorg-libxcursor xorg-libxinerama xorg-libxrandr
name=gcr
version=3.28.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-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}
}