updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / speedcrunch / PKGBUILD
blobd7fba75a20fb1c6b722cd0eb0f4d96763f049419
1 # Contributor: Ronald van Haren <ronald.archlinux.org>
2 # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
4 pkgname=speedcrunch
5 pkgver=0.10.1
6 pkgrel=2
7 pkgdesc="Simple but powerful calculator using Qt"
8 arch=('i686' 'x86_64')
9 url="http://speedcrunch.org/"
10 license=('GPL2')
11 depends=('qt')
12 makedepends=('cmake')
13 source=(http://speedcrunch.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
14 md5sums=('344ee1303b05502d28c58a2fff1ca6b2')
16 build() {
17         cd ${srcdir}/${pkgname}-${pkgver}/src
18         cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
19         make || return 1
21         # fix make install issue        
22         lrelease speedcrunch.pro
25 package() {
26         cd ${srcdir}/${pkgname}-${pkgver}/src
27         make DESTDIR=${pkgdir} install