speedcrunch update to 0.11

This commit is contained in:
Francesco 2014-02-03 09:40:45 +00:00
parent 0ff1081c52
commit e154d4e4e2

View File

@ -1,31 +1,34 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=speedcrunch
pkgver=0.10.1
pkgrel=3
pkgver=0.11
pkgrel=1
pkgdesc="Simple but powerful calculator using Qt"
url="http://speedcrunch.org/"
arch=('i686' 'x86_64')
arch=('x86_64')
depends=('qt')
makedepends=('cmake')
license=('GPL2')
categories=('utils')
source=(http://speedcrunch.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('344ee1303b05502d28c58a2fff1ca6b2')
source=("https://github.com/speedcrunch/SpeedCrunch/archive/$pkgver.tar.gz")
md5sums=('0d4458d98a3630cc121ca04d5a36e38c')
build() {
cd $srcdir/$pkgname-$pkgver/src
cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
make || return 1
cd SpeedCrunch-$pkgver/src
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
}
# fix make install issue
lrelease speedcrunch.pro
# fix make install issue
# lrelease speedcrunch.pro
package() {
cd SpeedCrunch-$pkgver/src
make DESTDIR=$pkgdir install
}