[arch-commits] Commit in shellharden/repos/community-x86_64 (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Wed Jun 27 08:55:55 UTC 2018
Date: Wednesday, June 27, 2018 @ 08:55:54
Author: arodseth
Revision: 346324
archrelease: copy trunk to community-x86_64
Added:
shellharden/repos/community-x86_64/PKGBUILD
(from rev 346323, shellharden/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: shellharden/repos/community-x86_64/PKGBUILD (from rev 346323, shellharden/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-27 08:55:54 UTC (rev 346324)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=shellharden
+pkgver=3.2
+pkgrel=1
+pkgdesc='Bash linter and syntax highlighter'
+arch=('x86_64')
+url='https://github.com/anordal/shellharden'
+license=('MPL')
+makedepends=('cmake' 'rust')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('7c6c3c59f47c63decddc820ad9c05a542d21ef389945444d0968144ab8dc6200')
+
+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"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list