summaryrefslogtreecommitdiff
path: root/extra/gcalctool/PKGBUILD
blob: b911bf9b9660e9d4277a05ad8341965a4758e288 (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
30
# $Id: PKGBUILD 159075 2012-05-15 11:46:29Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=gcalctool
pkgver=6.4.2.1
pkgrel=1
pkgdesc="GNOME Scientific calculator"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gtk3' 'dconf')
makedepends=('intltool' 'yelp-tools')
groups=('gnome-extra')
options=(!emptydirs)
url="http://www.gnome.org"
install=gcalctool.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('d79f7272534fc33357acc4438fe7746fa125fb05c45dfdb468a193b7490ca1f8')

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

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