summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e4c337ba5666541e11146d2b7319f5ddc883ab4c (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
# Maintainer: jxir <aur@jxir.de>

pkgname=mucalc
pkgver=2.0
pkgrel=1
pkgdesc="Convenient calculator for the command line"
arch=('x86_64')
url="https://marlam.de/mucalc/"
license=('GPL3')
depends=('muparser' 'readline')
makedepends=('cmake')
source=("https://marlam.de/$pkgname/releases/$pkgname-$pkgver.tar.gz")
sha256sums=('0fc049eb44cc4de525286c40981e3195530bc094e8b822b1b982affee463eedd')

prepare() {
  cd "$srcdir/$pkgname-$pkgver"
  cmake -DCMAKE_INSTALL_PREFIX=/usr .
}

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

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}