opt/glib/Pkgfile
2014-09-06 12:46:23 +02:00

28 lines
813 B
Plaintext

# Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
# URL: http://www.gtk.org/
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
# Depends on: libpcre libffi python
name=glib
version=2.40.0
release=3
source=(http://download.gnome.org/sources/$name/2.40/$name-$version.tar.xz \
no-schemas-segfault-fix-2.patch)
build () {
cd $name-$version
patch -p1 -i $SRC/no-schemas-segfault-fix-2.patch
./configure --prefix=/usr \
--disable-man \
--with-pcre=system
make
make -j1 DESTDIR=$PKG install
install -d $PKG/usr/man/man1
find docs -name '*.1' -exec install -m 0644 {} $PKG/usr/man/man1 \;
rm -rf $PKG/usr/share/{gtk-doc,locale}
rm -r $PKG/usr/share/bash-completion
}