PKGBUILDs/extra/gtk2/PKGBUILD

32 lines
1 KiB
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gtk2
pkgver=2.16.2
pkgrel=1
pkgdesc="The GTK+ Toolkit (v2)"
2009-11-22 11:13:47 +00:00
arch=('arm')
2009-09-26 14:35:50 +00:00
url="http://www.gtk.org/"
install=gtk2.install
depends=('atk>=1.26.0' 'pango>=1.24.2' 'libxcursor' 'libxinerama' 'libxrandr>=1.3.0' 'libxi>=1.2.1' 'libcups>=1.3.9' 'libxcomposite' 'libxdamage' 'heimdal>=1.2.1' 'gnutls>=2.8.0' 'shared-mime-info')
makedepends=('pkgconfig')
replaces=('gtkprint-cups' 'gail')
conflicts=('gtkprint-cups' 'gail')
provides=('gail=1.22.3')
options=('!libtool' '!docs')
backup=(etc/gtk-2.0/gtkrc)
license=('LGPL')
source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.16/gtk+-${pkgver}.tar.bz2)
md5sums=('396e98df15f6e4005e360b5710660ce3')
build() {
cd "${srcdir}/gtk+-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --with-xinput=yes \
--without-libjasper \
--with-included-loaders=png || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
echo 'gtk-fallback-icon-theme = "gnome"' > "${pkgdir}/etc/gtk-2.0/gtkrc" || return 1
}