diff options
author | Attenuation | 2019-02-11 18:08:42 +0800 |
---|---|---|
committer | Attenuation | 2019-02-11 18:08:42 +0800 |
commit | 13219f930097b437764a7ba2715620f1180e0837 (patch) | |
tree | b2aa5ad71a59843f280e057196625e5e728e4a4d | |
download | aur-13219f930097b437764a7ba2715620f1180e0837.tar.gz |
add procs
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..55ff37b30c9e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = procs + pkgdesc = A modern replacement for ps written by Rust + pkgver = 0.4.4 + pkgrel = 1 + url = https://github.com/dalance/procs + arch = x86_64 + license = MIT + makedepends = rust + source = procs-0.4.4.tar.gz::https://github.com/dalance/procs/archive/v0.4.4.tar.gz + sha256sums = 362900043c4d5253bd10a8ba8b4ae5de99fc469979237a7ef10892678702bef6 + +pkgname = procs + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cb5872115261 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Attenuation <ouyangjun1999@gmail.com> +pkgname=procs +pkgver=0.4.4 +pkgrel=1 +pkgdesc='A modern replacement for ps written by Rust ' +arch=('x86_64') +url='https://github.com/dalance/procs' +license=('MIT') +makedepends=('rust') +depends=() +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('362900043c4d5253bd10a8ba8b4ae5de99fc469979237a7ef10892678702bef6') + +build() { + cd "$pkgname-$pkgver" + + cargo build --release +} + +package() { + cd "$pkgname-$pkgver" + install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname" +} |