[arch-commits] Commit in watchexec/repos (community-x86_64 community-x86_64/PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Apr 7 11:14:16 UTC 2019
Date: Sunday, April 7, 2019 @ 11:14:15
Author: svenstaro
Revision: 450276
archrelease: copy trunk to community-x86_64
Added:
watchexec/repos/community-x86_64/
watchexec/repos/community-x86_64/PKGBUILD
(from rev 450275, watchexec/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: watchexec/repos/community-x86_64/PKGBUILD (from rev 450275, watchexec/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-04-07 11:14:15 UTC (rev 450276)
@@ -0,0 +1,24 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Vlad M. <vlad at archlinux.net>
+
+pkgname=watchexec
+pkgver=1.10.1
+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=('48de75d1a85e3675078e144ea34f4edcd3707751e67370f3f6386e79ca9ba4fa')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release --locked
+}
+
+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