summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38beb1fafb04486c2cd62586b58b5d0b497be210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

# Maintainer: Victor Tran <vicr12345 at gmail dot com>
pkgname=thecalculator
pkgver=3.0
pkgrel=1
pkgdesc="Calculator"
arch=("x86_64" "aarch64")
url="https://github.com/theCheeseboard/thecalculator"
license=('GPL3')
depends=('libcontemporary')
makedepends=('bison' 'flex' 'git' 'qt6-tools' 'cmake' 'clang')
source=("thecalculator"::"https://github.com/theCheeseboard/thecalculator/archive/v$pkgver.tar.gz")
sha256sums=('c1a34775e3e056e9b6bbab4ed8539d23cbfac370bdf299e32851b1fdb98f1a5f')

build() {
	cmake -B build -S "$pkgname-$pkgver" \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install "build"
}