Package Details: fw 2.7.0-1

Git Clone URL: https://aur.archlinux.org/fw.git (read-only, click to copy)
Package Base: fw
Description: Workspace productivity booster
Upstream URL: https://github.com/brocode/fw
Keywords: automation cli developer-tools productivity workspace zsh
Licenses: custom:WTFPL
Submitter: bomgar
Maintainer: bomgar (mriehl)
Last Packager: bomgar
Votes: 5
Popularity: 0.000000
First Submitted: 2018-01-19 07:35
Last Updated: 2020-12-14 07:14

Required by (0)

Sources (1)

Latest Comments

orhun commented on 2020-10-30 12:31

You should build the package from source. -bin packages install the pre-compiled binaries. See: https://aur.archlinux.org/packages/fw-bin/

Your PKGBUILD should be something like:

pkgname=fw
pkgver=2.6.0
pkgrel=1
pkgdesc="Workspace productivity booster"
arch=('x86_64')
url="https://github.com/brocode/fw"
license=('custom:WTFPL')
depends=('fzf')
makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('SKIP') // add checksums

build() {
  cd "$pkgname-$pkgver"
  cargo build --release --locked --all-features
}

check() {
  cd "$pkgname-$pkgver"
  cargo test --release --locked
}

package() {
  cd "$pkgname-$pkgver"
  install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
  install -Dm 644 README.org -t "$pkgdir/usr/share/doc/$pkgname"
  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}