summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dd523908026d56b12ec963c9f8e399c3324e009a (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
29
30
31
32
33
# Maintainer: Eduardo Flores <edfloreshz@gmail.com>

pkgname=done-git
pkgrel=1
pkgver=0.1.0
pkgdesc="Done is a simple to do app that aims to improve on the existing set of features provided to do apps to deliver the ultimate experience."
arch=('x86_64')
url="https://github.com/edfloreshz/done"
license=('GPL2')
depends=('gtk4' 'libadwaita' 'pkg-config')
makedepends=('cargo' 'git' 'meson' 'ninja')
optdepends=()
provides=('done')
conflicts=('done')
source=("done-git::git+https://github.com/edfloreshz/done#branch=main")
md5sums=('SKIP')

prepare() {
	echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
    meson --prefix=/usr --buildtype=plain $pkgname build
    meson compile -C build
}

check() {
    meson test -C build
}

package() {
	meson install -C build --destdir "$pkgdir"
}