mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 12:26:24 +02:00
48 lines
1 KiB
Text
48 lines
1 KiB
Text
# Contributor: Usia Bechtle <usia@bechtlebox.de>
|
|
# Maintainer: jane400 <alpine@j4ne.de>
|
|
pkgname=railway
|
|
pkgver=2.8.1
|
|
pkgrel=0
|
|
pkgdesc="Railway lets you look up travel information for many different railways"
|
|
url="https://gitlab.com/schmiddi-on-mobile/railway"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="
|
|
blueprint-compiler
|
|
cargo
|
|
desktop-file-utils
|
|
gtk4.0-dev
|
|
libadwaita-dev
|
|
libglibutil-dev
|
|
meson
|
|
openssl-dev
|
|
"
|
|
subpackages="$pkgname-lang"
|
|
source="https://gitlab.com/schmiddi-on-mobile/railway/-/archive/$pkgver/railway-$pkgver.tar.gz"
|
|
options="!check" # no tests
|
|
|
|
provides="diebahn=$pkgver-r$pkgrel"
|
|
replaces="diebahn"
|
|
|
|
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
|
|
|
|
cd "$pkgdir"/usr/bin
|
|
ln -sv diebahn railway
|
|
}
|
|
|
|
sha512sums="
|
|
a803f3e9aea6ab06afede3ac66c1a032cf8873242fc1e7877d7761c911929a097bf1db1a10b65989b4d17ec0eb692faee0110053b3b9744b4c3c55f61854c9fd railway-2.8.1.tar.gz
|
|
"
|