blob: 4a02948c94a31d03df154a91ec715a90bd6ad14b (
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.1.6
pkgrel=1
pkgdesc='Medication tracker for Linux'
url="https://github.com/diegopvlk/Dosage"
arch=('x86_64' 'aarch64')
license=('GPL3')
depends=('libadwaita')
makedepends=('git' 'meson')
checkdepends=('appstream-glib')
source=("$pkgname::git+$url.git#tag=v$pkgver")
sha256sums=('SKIP')
build() {
arch-meson $pkgname build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs || :
}
package() {
DESTDIR="$pkgdir" meson install -C build
ln -s io.github.diegopvlk.Dosage "$pkgdir/usr/bin/$pkgname"
}
|