mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-04 13:21:46 +02:00
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
# Contributor: Will Sinatra <wpsinatra@gmail.com>
|
|
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
|
|
pkgname=hullcaster
|
|
pkgver=0.1.0_git20240708
|
|
pkgrel=0
|
|
# This hash matches tag 0.1.0
|
|
_git=99d1b7cab56e432c8822ce4160c1622ad5478849
|
|
pkgdesc="Terminal-based TUI podcast manager"
|
|
url="https://github.com/gilcu3/hullcaster"
|
|
license="GPL-3.0-only"
|
|
arch="all"
|
|
makedepends="rust cargo cargo-auditable sqlite-dev"
|
|
depends="sqlite"
|
|
# Once 0.1.1 or greater is released, swap to proper tagged source
|
|
#source="$pkgname-$pkgver.tar.gz::https://github.com/gilcu3/hullcaster/archive/refs/tags/v$pkgver.tar.gz"
|
|
source="https://github.com/gilcu3/hullcaster/archive/$_git/hullcaster-$_git.tar.gz"
|
|
subpackages="$pkgname-doc"
|
|
builddir="$srcdir/$pkgname-$_git"
|
|
|
|
check() {
|
|
#Skip failing test, hullcaster seems to run fine despite the failure
|
|
cargo test --frozen -- \
|
|
--skip 'gpodder::tests::gpodder'
|
|
}
|
|
|
|
build() {
|
|
cargo auditable build --release --locked
|
|
}
|
|
|
|
package() {
|
|
cargo auditable install --no-track --locked --root "$pkgdir/usr" --path .
|
|
rm -f "$pkgdir"/usr/.crate*
|
|
|
|
install -Dm644 ./config.toml "$pkgdir/etc/hullcaster/config.toml"
|
|
install -Dm644 ./LICENSE "$pkgdir/usr/share/licenses/hullcaster/LICENSE"
|
|
}
|
|
|
|
|
|
sha512sums="
|
|
7d547756455a7faaa07a1f2ce997076c395118b941e762fbe62a8246ac846915b44d0d973d9af2d1706e63dbb68554be1c33da37c3fba80a638fc37bcca1bb98 hullcaster-99d1b7cab56e432c8822ce4160c1622ad5478849.tar.gz
|
|
"
|