blob: 50ab634186e9ec987d7c7132085bf80060661548 (
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
34
35
36
37
38
|
# Maintainer: Mattia Borda <mattiagiovanni.borda@icloud.com>
pkgname=chromatic-git
pkgver=r21.fe9d34e
pkgrel=1
pkgdesc='Fine-tune your instruments'
arch=(any)
url=https://github.com/nate-xyz/${pkgname%-git}
license=(GPL3)
depends=(libadwaita rust)
makedepends=(git meson)
chrckdepends=(appstream-util)
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
source=(git+$url)
b2sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
sed -i "s/'validate'/'validate-relax'/" ${pkgname%-git}/data/meson.build
}
build() {
arch-meson ${pkgname%-git} build
ninja -C build
}
check() {
meson test -C build --print-errorlog
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
|