blob: 06d0c309a2c16b04c146a0e7106d36f01debfc43 (
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: Alexis Belmonte <alexbelm48@gmail.com>
pkgname="notify-git"
pkgrel=0
pkgdesc="ntfy.sh client application to receive everyday's notifications"
pkgver=0.1.5_b6b21ac
arch=('x86_64')
url="https://github.com/ranfdev/Notify"
license=('GPL3')
depends=(gtk4 gtksourceview5 libadwaita openssl)
makedepends=(grep git meson ninja cargo blueprint-compiler capnproto)
source=("git+https://github.com/ranfdev/Notify")
sha256sums=('SKIP')
options=('!lto')
_reponame="Notify"
_repodir="${pkgdir}/${_reponame}"
pkgver() {
echo "$(grep -oP '(\d+\.){2}\d+' "${_reponame}/Cargo.toml" | head -n1)_$(cd "${_reponame}" && git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}" && \
arch-meson "${_reponame}" build ${meson_options[@]} ||
meson setup --reconfigure ||
meson setup --wipe;
}
build() {
meson compile -C build
}
package() {
meson install -C build --destdir "${pkgdir}"
}
check() {
meson test -C build
}
|