summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/libglade/PKGBUILD
blob: c0bfa29de469a490de58be54133884c1fa59445e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 13455 2008-09-27 11:03:58Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libglade
pkgver=2.6.3
pkgrel=1
pkgdesc="Allows you to load glade interface files in a program at runtime"
arch=(i686 x86_64)
license=('LGPL')
depends=('gtk2>=2.14.1' 'libxml2>=2.6.32')
makedepends=('python' 'pkgconfig')
options=('!libtool')
install=glade.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2
	libglade-2.0.1-nowarning.patch)
url="http://www.gnome.org"
md5sums=('1c359860b1a0f369f0b6e3f96fd985c2' '4f879c0ce550004905aa0fb24f25c353')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -Np1 -i ${srcdir}/libglade-2.0.1-nowarning.patch || return 1
  ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
  install -m755 libglade-convert ${pkgdir}/usr/bin/libglade-convert || return 1
}