PKGBUILDs/extra/bug-buddy/PKGBUILD
2009-10-18 22:17:58 -05:00

31 lines
1.2 KiB
Bash

# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=bug-buddy
pkgver=2.26.0
pkgrel=2
pkgdesc="A bug reporting tool for GNOME"
arch=('arm')
install=bug-buddy.install
depends=('gnome-menus>=2.26.1' 'evolution-data-server>=2.26.2' 'libgtop>=2.26.1' 'libelf' 'gconf>=2.26.0-2')
makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.16.0')
groups=('gnome-extra')
license=(GPL)
options=('!libtool' '!emptydirs')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2
gcc-4.4.patch)
md5sums=('f92663a1a819f83e3eb3004f9e8a687a'
'1d6eda79b925b9c20ab745999f0ab7ce')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/gcc-4.4.patch" || return 1
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var || return 1
make || return 1
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain bug-buddy ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}