blob: 86dcb55081e6b0e7f7e977d9c3c5feeee90591a4 (
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
|
# Maintainer: Dani RodrÃguez <dani@danirod.es>
pkgname=cartero
pkgver=0.1.2
pkgrel=1
epoch=
pkgdesc="Make HTTP requests and test APIs"
arch=('x86_64')
url="https://github.com/danirod/cartero"
license=('GPL-3.0-or-later')
depends=('curl' 'glib2' 'gtk4' 'gtksourceview5' 'libadwaita' 'openssl')
makedepends=('blueprint-compiler' 'git' 'meson' 'rust')
conflicts=()
options=('!lto' '!strip')
source=("$pkgname-$pkgver.tar.gz::https://github.com/danirod/cartero/releases/download/v$pkgver/cartero-$pkgver.tar.xz")
sha256sums=('d06ed9dacab343c190adfc7df11665ea0851dbf9f40d04c0f5065146921cc194')
build() {
# To disable client side decorations in your build (and enhance the
# integration with desktop environments others than GNOME), add the
# following flag at the end of the next command invocation:
# -Ddecorations=no-csd
arch-meson "${pkgname}-${pkgver}" build --wipe
meson compile -C build
}
check() {
meson test -C build --print-errorlogs || :
}
package() {
meson install -C build --destdir "$pkgdir"
}
|