mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-07 06:41:36 +02:00
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# Contributor: Usia Bechtle <usia@bechtlebox.de>
|
|
# Maintainer: Usia Bechtle <usia@bechtlebox.de>
|
|
pkgname=diebahn
|
|
pkgver=2.0.0
|
|
pkgrel=0
|
|
pkgdesc="GTK4 frontend for the travel information of the german railway"
|
|
url="https://gitlab.com/schmiddi-on-mobile/railway"
|
|
# s390x, ppc64le, riscv64: rust-ring
|
|
arch="all !s390x !ppc64le !riscv64"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="
|
|
cargo
|
|
desktop-file-utils
|
|
gtk4.0-dev
|
|
libadwaita-dev
|
|
libglibutil-dev
|
|
meson
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/schmiddi-on-mobile/railway/-/archive/$pkgver/railway-$pkgver.tar.gz"
|
|
subpackages="$pkgname-lang"
|
|
options="!check" # no tests
|
|
builddir="$srcdir/railway-$pkgver"
|
|
|
|
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="
|
|
227650042752567bedcbef3eee1cb29dbb23b162f38934d3c51cfd2ff75ae58dbc7d3365083732b46013ba1b2d71c3f2be5d49cb7b2d96b66b6e405104516618 diebahn-2.0.0.tar.gz
|
|
"
|