blob: 760ec6c9a7df587556f1b46843a6ad40ed3e15ca (
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: begin-theadventure <begin-thecontact.ncncb at dralias dot com>
pkgname=dosage-tracker
pkgver=1.9.1
pkgrel=1
pkgdesc="Medication tracker for Linux"
url="https://github.com/diegopvlk/Dosage"
license=('GPL-3.0-only')
arch=('x86_64' 'aarch64')
depends=('gjs' 'libadwaita' 'libportal')
makedepends=('blueprint-compiler' 'meson')
checkdepends=('appstream-glib')
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('aa02038c4cae1f18c93208bd5e03d3d56316c7858a0b8dc98e16294310e8095d')
build() {
arch-meson Dosage-$pkgver build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs || :
}
package() {
meson install -C build --no-rebuild --destdir "$pkgdir"
ln -s io.github.diegopvlk.Dosage "$pkgdir/usr/bin/$pkgname"
}
|