[arch-commits] Commit in (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Apr 7 11:11:16 UTC 2019


    Date: Sunday, April 7, 2019 @ 11:11:16
  Author: svenstaro
Revision: 450270

Move watchexec from AUR

Added:
  watchexec/
  watchexec/repos/
  watchexec/trunk/
  watchexec/trunk/PKGBUILD

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

Added: watchexec/trunk/PKGBUILD
===================================================================
--- watchexec/trunk/PKGBUILD	                        (rev 0)
+++ watchexec/trunk/PKGBUILD	2019-04-07 11:11:16 UTC (rev 450270)
@@ -0,0 +1,24 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Vlad M. <vlad at archlinux.net>
+
+pkgname=watchexec
+pkgver=1.10.0
+pkgrel=1
+pkgdesc="Executes commands in response to file modifications"
+url='https://github.com/watchexec/watchexec'
+makedepends=('cargo')
+arch=('x86_64')
+license=('Apache')
+source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('7ef8efe1565c9177222cb1e13ac227d26aa3ba5395399c4201177c9db329241f')
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --release
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list