diff options
author | Wu Zhenyu | 2023-07-17 16:28:40 +0800 |
---|---|---|
committer | Wu Zhenyu | 2023-07-17 16:28:40 +0800 |
commit | 7e030f35172ae6a30a5aa920e9db4e9efce42b0c (patch) | |
tree | ac1a516daeccb2b2e44a5f79db0397aa40b62a38 | |
download | aur-7e030f35172ae6a30a5aa920e9db4e9efce42b0c.tar.gz |
:tada: Initial
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..23fd01a7f396 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,11 @@ +pkgbase = auto-sized-fzf-git + pkgdesc = A --preview=.... generator that is based on the shell's current dimensions. + pkgver = r3.45b5121 + pkgrel = 1 + url = https://github.com/bigH/auto-sized-fzf + arch = any + license = GPL3 + source = git+https://github.com/bigH/auto-sized-fzf + sha256sums = SKIP + +pkgname = auto-sized-fzf-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..8a5cafba2b8e --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/* +!/.gitignore +!/PKGBUILD +!/.SRCINFO +!/*.install diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fd1117c320aa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# shellcheck shell=bash disable=SC2034,SC2154 +_pkgname=auto-sized-fzf +pkgname=$_pkgname-git +pkgver=r3.45b5121 +pkgrel=1 +pkgdesc="A --preview=.... generator that is based on the shell's current dimensions." +arch=(any) +url=https://github.com/bigH/$_pkgname +license=(GPL3) +source=("git+$url") +sha256sums=('SKIP') + +pkgver() { + cd "$_pkgname" || return 1 + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$_pkgname" || return 1 + + install -D "$_pkgname.sh" -t "$pkgdir/usr/bin" + install -Dm644 README.md -t "$pkgdir/usr/share/doc/$_pkgname" +} |