diff options
author | Jonathan Neidel | 2023-03-20 07:04:00 +0100 |
---|---|---|
committer | Jonathan Neidel | 2023-03-20 07:04:00 +0100 |
commit | ce441a90e013413d5c016c64ce8e3390129c3411 (patch) | |
tree | de91b8b0f25d6d9434fcb49829f5b794e09ef701 /PKGBUILD | |
download | aur-ce441a90e013413d5c016c64ce8e3390129c3411.tar.gz |
Create shell-velocity-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8b8d91f0effe --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Jonathan Neidel <aur@jneidel.com> + +pkgname=shell-velocity-git +pkgver=55.849e2f2 +pkgrel=1 +pkgdesc="A portable notational velocity for your shell" +arch=(any) +url="https://github.com/saccarosium/shell-velocity" +license=(MIT) +depends=() +makedepends=(git) +optdepends=( + 'fzf: default picker' + 'fzy: alternative picker' + 'peco: alternative picker' + 'gum: alternative picker' + 'dmenu: alternative picker' + 'rofi: alternative picker' +) +provides=(shv) +conflicts=() +source=("git+https://github.com/saccarosium/shell-velocity.git") +md5sums=("SKIP") + +pkgver() { + cd "$srcdir/${pkgname/-git/}" + printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/${pkgname/-git/}" + + install -Dm755 shv "$pkgdir/usr/bin/shv" +} |