summaryrefslogtreecommitdiff
path: root/testing/gcalctool/PKGBUILD
blob: ef802a5e16157ff5a6bf038933463f1cbba5a5b5 (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
27
28
29
# $Id: PKGBUILD 117557 2011-04-04 10:43:54Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gcalctool
pkgver=6.0.0
pkgrel=1
pkgdesc="GNOME Scientific calculator"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gtk3' 'dconf')
makedepends=('intltool' 'gnome-doc-utils')
groups=('gnome-extra')
options=(!emptydirs)
url="http://www.gnome.org"
install=gcalctool.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('efada505801df4fc046ef22e9786d9ba535935d07e87f45f5a10f7624836c036')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile \
      --localstatedir=/var --disable-scrollkeeper
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}