shotgun: added missing dependency git
This commit is contained in:
parent
e3b281c2ca
commit
70d2b0b435
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3275EdjwK5GsiVPIE3gik9nr9Wm4+oPqUU/DL0jvoPvjcsdU3Itv76Dk5BZ1rb+n48vNHk+EA9+Grj4DsipQ3w0=
|
||||
SHA256 (Pkgfile) = 4430a55e56afd1287bcc8846aa5823c6e07e7be10514b74b67ff1f5f922a419a
|
||||
RWSagIOpLGJF39qqOLicFP7P2GsjMsRDRkNwUo3VJgRVNXJiD9jICVF0qjjJq4cCXSoPHuMyDoZxeE0djtnCBcet7/7iLwVkcQU=
|
||||
SHA256 (Pkgfile) = 52b64c3549f9389a83327ff928760df1709e5d5c115ff73c6838c872caa98d0e
|
||||
SHA256 (.footprint) = ed7571fc04ecb0f3d8c8c2c833ad729d8bf238d2a21c93fb00f901b9bbaa8d65
|
||||
SHA256 (shotgun-2.2.0.tar.gz) = c02df7284c8757f4592ce7dcbbd11330ea926379c5ff313f4932a7cbae00d24b
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Description: Minimal X screenshot utility
|
||||
# URL: https://github.com/neXromancers/shotgun
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: rust xorg-libx11 xorg-libxrandr
|
||||
# Depends on: git rust xorg-libx11 xorg-libxrandr
|
||||
# Optional: hacksaw
|
||||
|
||||
name=shotgun
|
||||
@ -10,14 +10,12 @@ release=1
|
||||
source=(https://github.com/neXromancers/shotgun/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||
mkdir "$PKGMK_SOURCE_DIR/rust" || true
|
||||
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
|
||||
|
||||
cargo update
|
||||
cargo fetch
|
||||
cargo build --release --locked
|
||||
install -Dt $PKG/usr/bin target/release/shotgun
|
||||
cargo update --manifest-path $name-$version/Cargo.toml
|
||||
cargo fetch --manifest-path $name-$version/Cargo.toml
|
||||
cargo build --release --locked --manifest-path $name-$version/Cargo.toml
|
||||
install -Dt $PKG/usr/bin $name-$version/target/release/shotgun
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user