diff options
author | Jean Lucas | 2019-04-07 16:46:50 -0400 |
---|---|---|
committer | Jean Lucas | 2019-04-07 16:47:53 -0400 |
commit | 0e93e4ffeab05af6c973309db2223a62ca762dbf (patch) | |
tree | 425945ac0ca7141886ae2f9a01b31bfd80591125 | |
download | aur-0e93e4ffeab05af6c973309db2223a62ca762dbf.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bd2586302b98 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by mksrcinfo v8 +# Sun Apr 7 20:47:47 UTC 2019 +pkgbase = hunter + pkgdesc = ranger-like file browser written in Rust + pkgver = 1.0.1 + pkgrel = 1 + url = https://github.com/rabite0/hunter + arch = i686 + arch = x86_64 + license = WTFPL + makedepends = rust + depends = file + conflicts = hunter-git + conflicts = hunter-evil + conflicts = hunter-evil-git + source = https://github.com/rabite0/hunter/archive/v1.0.1.tar.gz + sha512sums = 6793286b988820fadd43099f3d78db53169250ae17b67f0af2379c055a2508e60bab54befa0cb263090da68c10188db2c99d9cd47a7d1d4074bc0479aa5d2818 + +pkgname = hunter + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ed8b01a8feca --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Jean Lucas <jean@4ray.co> + +pkgname=hunter +pkgver=1.0.1 +pkgrel=1 +pkgdesc='ranger-like file browser written in Rust' +arch=(i686 x86_64) +url=https://github.com/rabite0/hunter +license=(WTFPL) +depends=(file) +makedepends=(rust) +conflicts=(hunter-git hunter-evil hunter-evil-git) +source=($url/archive/v$pkgver.tar.gz) +sha512sums=('6793286b988820fadd43099f3d78db53169250ae17b67f0af2379c055a2508e60bab54befa0cb263090da68c10188db2c99d9cd47a7d1d4074bc0479aa5d2818') + +build() { + cd hunter-$pkgver + cargo build --release +} + +package() { + cd hunter-$pkgver + install -D target/release/hunter -t "$pkgdir"/usr/bin + install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/hunter +} |