blob: 20452897d07b8a8fc5fd9054b6482bc88536af90 (
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.6
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=('9834bb9a182741b9b4b620943cea68c209f35f95b5d0969abb1ebb91ab6221be')
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"
}
|