contrib/gcr/Pkgfile

28 lines
697 B
Plaintext
Raw Normal View History

2015-05-17 05:22:44 +02:00
# Description: Libraries for cryptographic UIs and accessing PKCS#11 modules.
# URL: https://developer.gnome.org/gcr/
# Maintainer: Danny Rawlins, crux at romster dot me
2019-11-09 10:15:15 +01:00
# Depends on: gnupg gtk3 p11-kit vala xorg-libxcomposite xorg-libxcursor xorg-libxinerama
2015-05-17 05:22:44 +02:00
name=gcr
2019-11-09 10:15:15 +01:00
version=3.34.0
2018-09-02 10:25:15 +02:00
release=1
source=(https://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz)
2015-05-17 05:22:44 +02:00
build() {
cd $name-$version
./configure \
--prefix=/usr \
2017-04-13 14:19:08 +02:00
--libexecdir=/usr/lib/gcr \
2015-05-17 05:22:44 +02:00
--disable-update-icon-cache \
--disable-update-mime \
2019-11-09 10:15:15 +01:00
--disable-gtk-doc \
2015-05-17 05:22:44 +02:00
--disable-nls
2017-04-13 14:19:08 +02:00
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
2015-05-17 05:22:44 +02:00
make
make DESTDIR=$PKG install
2019-11-09 10:15:15 +01:00
rm -r $PKG/usr/share/gtk-doc
2015-05-17 05:22:44 +02:00
}