summaryrefslogtreecommitdiff
path: root/extra/gcalctool/PKGBUILD
blob: c4c19605cc4242578e1bea9b9281fb9b23866345 (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 124701 2011-05-24 06:54:45Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gcalctool
pkgver=6.0.2
pkgrel=1
pkgdesc="GNOME Scientific calculator"
arch=('i686' 'x86_64')
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=('63190fde1be5202ab43774785b5521d8f11592c6a9e125673028c5ac235c9316')

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
}