mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
|
# $Id: PKGBUILD 30904 2009-03-22 17:14:27Z jgc $
|
||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||
|
|
||
|
pkgname=gok
|
||
|
pkgver=2.26.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Gnome Onscreen Keyboard"
|
||
|
arch=(i686 x86_64)
|
||
|
license=('GPL')
|
||
|
url="http://www.gnome.org"
|
||
|
depends=('gnome-speech>=0.4.25' 'libgnomeui>=2.24.1' 'at-spi>=1.26.0' 'libwnck>=2.26.0')
|
||
|
makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.16.0')
|
||
|
options=('!emptydirs')
|
||
|
groups=('gnome-extra')
|
||
|
install=gok.install
|
||
|
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
|
||
|
md5sums=('8cc28ad6010a977c9ccbe8d5b690f636')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
./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 gok ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
|
||
|
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
|
||
|
}
|