pkgname: gtk2 pkgver: '2.24.33' pkgrel: '6' pkgdesc: 'GTK+ is a multi-platform toolkit (version 2)' url: 'https://www.gtk.org/' arch: x86_64 depends: - 'gtk-update-icon-cache' - 'shared-mime-info' - 'desktop-file-utils' makedepends: - 'gtk-doc' - 'shared-mime-info' - 'xorg-libxinerama' - 'xorg-libxrandr' - cairo - pango - 'at-spi2-core' - libtiff - cups - 'gdk-pixbuf' - 'xorg-libxi' - 'xorg-libxcursor' - 'hicolor-icon-theme' - autoconf - m4 - 'gtk-update-icon-cache' - 'desktop-file-utils' source: - 'gtkrc.example' - 'consolidate-1.patch' - 'https://download.gnome.org/sources/gtk+/2.24/gtk+-${pkgver}.tar.xz' sha256sums: - SKIP - SKIP - SKIP build: | cd gtk+-${pkgver} patch -Np1 -i ../consolidate-1.patch autoreconf -fvi sed -i 's#l \(gtk-.*\).sgml#& -o \1#' docs/{faq,tutorial}/Makefile.in CFLAGS+=" -Wno-error=implicit-int -Wno-error=incompatible-pointer-types" ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --with-xinput=yes \ --disable-gtk-doc \ --sysconfdir=/etc make make DESTDIR=${PKGDIR} install mkdir -p ${PKGDIR}/etc/gtk-2.0 install -m644 ../gtkrc.example ${PKGDIR}/etc/gtk-2.0/gtkrc.example # Construit dans gtk-update-icon-cache rm -f ${PKGDIR}/usr/bin/gtk-update-icon-cache rm -f ${PKGDIR}/usr/share/man/man1/gtk-update-icon-cache.1 # Suppression des fichiers la find ${PKGDIR} -name '*.la' -delete package: | true