Date: Friday, May 1, 2020 @ 05:01:47 Author: polyzen Revision: 623690
archrelease: copy trunk to community-x86_64 Added: hacksaw/repos/community-x86_64/ hacksaw/repos/community-x86_64/PKGBUILD (from rev 623688, hacksaw/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: hacksaw/repos/community-x86_64/PKGBUILD (from rev 623688, hacksaw/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2020-05-01 05:01:47 UTC (rev 623690) @@ -0,0 +1,25 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> + +pkgname=hacksaw +pkgver=1.0.4 +pkgrel=1 +pkgdesc='Lightweight selection tool for usage in screenshot scripts etc.' +arch=('x86_64') +url=https://github.com/neXromancers/hacksaw +license=('MPL2') +depends=('gcc-libs' 'libxcb') +makedepends=('python' 'rust') +source=("hacksaw-$pkgver.tar.gz::https://static.crates.io/crates/hacksaw/hacksaw-$pkgver.crate") +sha512sums=('266cf94efa03a89a68d3d1f28fa9772b7815f0d4faf8126da757022624b174fc0246b5d576f1e767c2d7571a9c69725af8e28eec1a541d6f0ee5b3851a21147b') + +build() { + cd hacksaw-$pkgver + cargo build --release --locked +} + +package() { + cd hacksaw-$pkgver + install -Dt "$pkgdir"/usr/bin target/release/hacksaw +} + +# vim:set ts=2 sw=2 et: