mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-13 01:32:13 +02:00
42 lines
982 B
Plaintext
42 lines
982 B
Plaintext
# Maintainer: Cowington Post <cowingtonpost@gmail.com>
|
|
pkgname=lemoa
|
|
pkgver=0.4.0
|
|
pkgrel=0
|
|
pkgdesc="Native GTK clienet for Lemmy"
|
|
url="https://github.com/lemmygtk/lemoa"
|
|
# ring
|
|
arch="all !s390x !ppc64le !riscv64"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="
|
|
cargo
|
|
desktop-file-utils
|
|
gtk4.0-dev
|
|
libadwaita-dev
|
|
meson
|
|
openssl-dev
|
|
"
|
|
source="https://github.com/lemmygtk/lemoa/archive/v$pkgver/lemoa-$pkgver.tar.gz
|
|
cargo-env.patch
|
|
"
|
|
options="net !check" # no tests
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
ee4ba2bb05cdd938b8ccc6f3c9004b5896c6ab5ac3f479ce41659d3238ffc9d7f6f5ee248de7b4d36eac487436ca4c96fe364714433e995680fe553bf91b1954 lemoa-0.4.0.tar.gz
|
|
6055e4e7e6b9efe8b2e233342b9a0665dd17a15f3598fd5a702af690813523a78ee23a48cf0a76924ef1a734a14bfffff12d7b8a00d97ac7341bffae696c04d3 cargo-env.patch
|
|
"
|