[arch-commits] Commit in (hacksaw hacksaw/repos hacksaw/trunk hacksaw/trunk/PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Fri May 1 05:01:22 UTC 2020


    Date: Friday, May 1, 2020 @ 05:01:21
  Author: polyzen
Revision: 623687

Initial commit

Added:
  hacksaw/
  hacksaw/repos/
  hacksaw/trunk/
  hacksaw/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Added: hacksaw/trunk/PKGBUILD
===================================================================
--- hacksaw/trunk/PKGBUILD	                        (rev 0)
+++ hacksaw/trunk/PKGBUILD	2020-05-01 05:01:21 UTC (rev 623687)
@@ -0,0 +1,25 @@
+# Maintainer: Daniel M. Capella <polyzen at 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:


More information about the arch-commits mailing list