summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d3c04cfa28f46dfad6647a7b8a40f8fc162365e5 (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: begin-theadventure <begin-thecontact.ncncb at dralias dot com>

pkgname=bmi
pkgdesc='Body mass index calculator'
pkgver=1.0.6
pkgrel=2
arch=('x86_64')
url="https://github.com/alexkdeveloper/bmi"
license=('GPL3')
depends=('granite')
makedepends=('git' 'meson' 'vala')
source=("git+$url.git#tag=$pkgver")
sha256sums=('SKIP')

build() {
  arch-meson $pkgname build
  meson compile -C build
}

package() {
  DESTDIR="$pkgdir" meson install -C build
  ln -s /usr/bin/com.github.alexkdeveloper.$pkgname "$pkgdir/usr/bin/$pkgname"
}