mirror of
https://github.com/archlinux/aur.git
synced 2025-12-10 08:05:42 +01:00
Initial upload: nota.zsh-git 1.0.0-1
feat: add nota.zsh-git
This commit is contained in:
commit
52548fb2d6
2 changed files with 40 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
pkgbase = nota.zsh-git
|
||||||
|
pkgdesc = ZSH plugin that help you record notas with some context.
|
||||||
|
pkgver = 1.0.0
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/0x61nas/nota.zsh
|
||||||
|
arch = any
|
||||||
|
license = MIT
|
||||||
|
depends = zsh
|
||||||
|
depends = fzf
|
||||||
|
conflicts = nota.zsh
|
||||||
|
source = nota.zsh::git+https://github.com/0x61nas/nota.zsh.git#branch=aurora
|
||||||
|
sha256sums = SKIP
|
||||||
|
|
||||||
|
pkgname = nota.zsh-git
|
||||||
26
PKGBUILD
Normal file
26
PKGBUILD
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
# Maintainer: Anas Elgarhy <anas.elgarhy.dev@gmail.com>
|
||||||
|
pkgname=nota.zsh-git
|
||||||
|
_pkgname=nota.zsh
|
||||||
|
pkgver=1.0.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='ZSH plugin that help you record notas with some context.'
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/0x61nas/nota.zsh"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('zsh' 'fzf')
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("$_pkgname")
|
||||||
|
options=()
|
||||||
|
source=("$_pkgname::git+$url.git#branch=aurora")
|
||||||
|
sha256sums=(SKIP)
|
||||||
|
# validpgpkeys=()
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "$_pkgname"
|
||||||
|
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$_pkgname"
|
||||||
|
install -Dm755 nota.zsh "$pkgdir/usr/share/zsh/plugins/nota/nota.zsh"
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue