summaryrefslogtreecommitdiff
path: root/extra/speedcrunch/PKGBUILD
blob: b3f5d875d53f0e2e18955041e9522ca75d0d62c9 (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
# $Id: PKGBUILD 67114 2010-02-03 16:04:47Z andrea $
# Maintainer:
# Contributor: Ronald van Haren <ronald.archlinux.org>

pkgname=speedcrunch
pkgver=0.10.1
pkgrel=2
pkgdesc="Simple but powerful calculator using Qt"
url="http://speedcrunch.org/"
arch=('i686' 'x86_64' 'mips64el')
depends=('qt')
makedepends=('cmake')
license=('GPL2')
source=(http://speedcrunch.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('344ee1303b05502d28c58a2fff1ca6b2')

build() {
  cd $srcdir/$pkgname-$pkgver/src
  cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
  make || return 1

  # fix make install issue	
  lrelease speedcrunch.pro
  make DESTDIR=$pkgdir install
}