blob: fcff23caa7563c0919c25a7c23371dcd00464c0c (
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
39
40
41
42
43
44
45
46
47
|
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
pkgname=delineate
pkgver=0.1.1
pkgrel=1
pkgdesc='View and edit graphs'
arch=(x86_64)
url='https://github.com/SeaDve/Delineate'
license=(GPL-3.0-or-later)
depends=(
graphene
glib2
gdk-pixbuf2
gtk4
gtksourceview5
hicolor-icon-theme
dconf
glibc
gcc-libs
libadwaita
webkitgtk-6.0
)
makedepends=(
git
meson
rust
)
options=(!lto)
source=("git+https://github.com/SeaDve/Delineate.git#tag=v$pkgver")
sha256sums=('bc7b5481771586e9f61841e8727b356c9409446bfc044fafdd3099a8fa244665')
prepare() {
cd Delineate
CARGO_HOME="$srcdir/build/cargo-home" cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
arch-meson Delineate build
CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 CARGO_PROFILE_RELEASE_DEBUG=2 CARGO_PROFILE_RELEASE_STRIP=false meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir" --no-rebuild
}
|