makedeb


cutefish-calculator 0.4-1


CutefishOS Calculator

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for cutefish-calculator.

# Contributor: Felix Yan <felixonmars@archlinux.org>
# Maintainer: Maksym Titenko <titenko.m@gmail.com>
# Maintainer: Aryan Pathania (aynp)

pkgname=cutefish-calculator
pkgver=0.4
pkgrel=1
pkgdesc="CutefishOS Calculator"
arch=('x86_64')
url="https://github.com/cutefishos/calculator"
control_fields=("MPR-Package: ${pkgname}")
license=('GPL')
groups=('cutefish')
depends=('fishui' 'libcutefish')
makedepends=('extra-cmake-modules' 'ninja-build' 'qttools5-dev-tools' 'qtbase5-dev' 'qtdeclarative5-dev' 'qtquickcontrols2-5-dev' 'qttools5-dev')
source=("${pkgname}::git+https://github.com/cutefishos/calculator.git")
md5sums=('SKIP')

build() {
  cd ${pkgname}

  cmake -DCMAKE_INSTALL_PREFIX=/usr .
  make
}

package() {
  cd ${pkgname}
  make DESTDIR="$pkgdir" install
}