mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 00:34:26 +02:00
28 lines
809 B
Text
Executable file
28 lines
809 B
Text
Executable file
# Contributor: Zoey <zoey@z0ey.de>
|
|
# Contributor: Nulo <git@nulo.in>
|
|
# Maintainer: Zoey <zoey@z0ey.de>
|
|
pkgname=geckodriver
|
|
pkgver=0.36.0
|
|
pkgrel=0
|
|
pkgdesc="Proxy for using W3C WebDriver compatible clients to interact with Gecko-based browsers."
|
|
url="https://github.com/mozilla/geckodriver"
|
|
arch="all"
|
|
license="MPL-2.0"
|
|
makedepends="cargo cargo-auditable"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/mozilla/geckodriver/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cargo auditable build --release --bin geckodriver
|
|
}
|
|
|
|
check() {
|
|
cargo test --release
|
|
}
|
|
|
|
package() {
|
|
install -Dm0755 target/release/$pkgname -t "$pkgdir"/usr/bin
|
|
}
|
|
|
|
sha512sums="
|
|
e26203662bf7c7d0fe7567f13d6614a74feeaa6f4d976b62ea02373b0acc8f5e7e957a2ff2ee190ca93557de247105c29f961b23b1989d9f1f87377647ea50df geckodriver-0.36.0.tar.gz
|
|
"
|