blob: 7c2cbf1870eb45196b7970ef5e6323fb29077379 (
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
31
32
33
34
35
|
# Maintainer: Steven Honeyman <stevenhoneyman at gmail com>
pkgname=speedcrunch-git
pkgver=20160416
pkgrel=2
pkgdesc="Simple, high precision and powerful calculator."
arch=('i686' 'x86_64')
url="http://speedcrunch.org/"
license=('GPL2')
depends=('qt5-base' 'qt5-tools' 'libxkbcommon-x11')
makedepends=('git' 'cmake'
'python-sphinx' 'python-sphinx-quark-theme') # required for REBUILD_MANUAL
conflicts=('speedcrunch')
provides=('speedcrunch')
source=('speedcrunch::git+https://bitbucket.org/heldercorreia/speedcrunch.git')
md5sums=('SKIP')
pkgver() {
cd speedcrunch
git log -1 --format="%cd" --date=short | sed 's|-||g'
}
build() {
cd speedcrunch
rm -rf build
mkdir build
cd build
cmake ../src -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" -DREBUILD_MANUAL=on
make
}
package() {
cd speedcrunch/build
make install
}
|