PKGBUILDs/extra/dasher/PKGBUILD
2009-10-09 21:23:22 -05:00

30 lines
1.2 KiB
Bash

# $Id: PKGBUILD 37440 2009-05-01 20:06:21Z jgc $
# Maintainer: damir <damir@archlinux.org>
pkgname=dasher
pkgver=4.10.1
pkgrel=1
pkgdesc="Information-efficient text-entry interface, driven by natural continuous pointing gestures"
arch=(i686 x86_64)
license=('GPL')
depends=('at-spi>=1.26.0' 'libgnomeui>=2.24.1' 'gnome-speech>=0.4.25' 'gconf>=2.26.0-2')
makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils>=0.16.1')
url="http://www.gnome.org"
groups=('gnome-extra')
options=(!emptydirs)
install=dasher.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/4.10/${pkgname}-${pkgver}.tar.bz2)
md5sums=('83e556690ac54c4bb8c49c050510259e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var \
--disable-scrollkeeper --enable-speech || return 1
make LDFLAGS+=-Wl,--export-dynamic || 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 dasher ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}