blob: a69b2a05fc76e7c4033f31791e80db9d8213bedd (
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
|
# shellcheck shell=bash disable=SC2034
# Maintainer: Wu Zhenyu <wuzy01@qq.com>
# https://aur.archlinux.org/packages/updaurpkg-git
# $ updaurpkg --apply
_repo=bigH/interactively
_source_type=github-releases
_pkgname=$(tr A-Z a-z <<< ${_repo##*/})
pkgname=$_pkgname-git
pkgver=r6.d2daf03
pkgrel=1
pkgdesc="interactively author commands - useful for awk, sed, jq"
arch=(any)
url=https://github.com/$_repo
depends=(fzf bash)
license=(custom)
source=("git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$_pkgname"
install -D "bin/$_pkgname" -t "$pkgdir/usr/bin"
}
|