mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
1.1 KiB
Bash
29 lines
1.1 KiB
Bash
# $Id: PKGBUILD 44686 2009-07-03 17:55:17Z jgc $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=gcalctool
|
|
pkgver=5.26.3
|
|
pkgrel=1
|
|
pkgdesc="GNOME Scientific calculator"
|
|
arch=(i686 x86_64)
|
|
license=('GPL')
|
|
depends=('gconf>=2.26.0-2' 'libglade>=2.6.4')
|
|
makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.16.0')
|
|
groups=('gnome-extra')
|
|
options=(!emptydirs)
|
|
url="http://www.gnome.org"
|
|
install=gcalctool.install
|
|
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/5.26/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('4208595c1992c50a7f71882a23e76190')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-install \
|
|
--localstatedir=/var --disable-scrollkeeper || 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 gcalctool ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
|
|
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
|
|
}
|