hacksaw: initial commit, version 1.0.4

This commit is contained in:
Tim Biermann 2020-11-19 08:49:41 +00:00
parent d5b203f16b
commit d10edbe797
3 changed files with 31 additions and 0 deletions

3
hacksaw/.footprint Normal file
View File

@ -0,0 +1,3 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/hacksaw

5
hacksaw/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF31h5Bqogrw5RueTp52F2vXW1AnaJ5QtDREuwkBIptudgv4xPdm2cl9MYJLrv5D6GCY/pGkc6t2aOsbu+AbUlCgo=
SHA256 (Pkgfile) = 1d08cb7f96591202154995297cd6b3c03200db2e5005ec341178c5a2ac03b19d
SHA256 (.footprint) = 858f7a99b4396034e1c456bb7d45f4e1b3ec55656c17b726601c7577a9994ed0
SHA256 (hacksaw-1.0.4.tar.gz) = 3467d1a0603892f375f55770d90a0e4a8521f656cbc998b586980a0f6870e892

23
hacksaw/Pkgfile Normal file
View File

@ -0,0 +1,23 @@
# Description: select operation for X11 screens
# URL: https://github.com/neXromancers/hacksaw
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: rust xorg-libxcb
name=hacksaw
version=1.0.4
release=1
_commit=fd6b6bd1be435dd546e7efd0ed8800623bb098fa
source=(https://github.com/neXromancers/hacksaw/archive/$_commit/$name-$version.tar.gz)
build() {
cd $name-$_commit
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/hacksaw
}