summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 237e50c5c0fc60478de5f62cd380872f18899d01 (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
36
37
# Maintainer: Philipp Hochmann <phil.hochmann[at]gmail[dot]com>
pkgname=ccalc
pkgver=1.6.5
pkgrel=0
epoch=
pkgdesc="Calculator with expression simplification that lets you define new functions and constants "
arch=('x86_64')
url="https://github.com/PhilippHochmann/ccalc"
license=('GPL3')
groups=()
depends=('readline')
makedepends=('make' 'gcc')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname-$pkgver.tar.gz")
noextract=()
md5sums=('ebaeccf411be2bb887de2353259d31d0')
validpgpkeys=()

build() {
	cd "$pkgname-$pkgver"
	make
}

package() {
	mkdir -p $pkgdir/usr/bin/
	mkdir -p $pkgdir/etc/ccalc/
	mv "$pkgname-$pkgver"/bin/release/ccalc $pkgdir/usr/bin
	mv "$pkgname-$pkgver"/simplification.ruleset $pkgdir/etc/ccalc
}