summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 546f10ad9c013c07d9a52a00e5f98aae3df5dabb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Hoàng Văn Khải <hvksmr1996@gmail.com>

# This file is automatically generated. Do not edit.

pkgname=pretty-exec
pkgver=0.0.11
source=(pretty-exec-0.0.11.tar.gz::https://github.com/KSXGitHub/pretty-exec/archive/0.0.11.tar.gz https://raw.githubusercontent.com/KSXGitHub/pretty-exec/master/LICENSE.md)
sha1sums=(SKIP SKIP)
# This PKGBUILD is not a full PKGBUILD
# pkgname, pkgver, source, and sha1sums are to be generated
pkgdesc='Print command and execute it'
pkgrel=0
arch=(x86_64)
license=(MIT)
url='https://github.com/KSXGitHub/pretty-exec'
makedepends=(cargo)

build() {
  cd "$srcdir"/pretty-exec-"$pkgver"
  cargo build --release --locked
}

package() {
  cd "$srcdir"/pretty-exec-"$pkgver"
  install -Dm755 target/release/pretty-exec "$pkgdir"/usr/bin/pretty-exec
  install -Dm644 LICENSE.md "$pkgdir"/usr/share/"$pkgname"/LICENSE.md
}