diff options
| author | 2025-06-14 22:00:23 +0500 | |
|---|---|---|
| committer | 2025-06-14 22:00:23 +0500 | |
| commit | 21f145a4a9788c80884c36bd9d8f7d4628a16546 (patch) | |
| tree | de1c2946cbc4495b2692f4619c8bf821038750f1 /PKGBUILD | |
Added fzf-vjour to the AUR
Diffstat (limited to 'PKGBUILD')
| -rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..e2d07ae --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Aleksey Steapanov <blueingreen@bluig.xyz> + +_pkgname=fzf-vjour +pkgname="${_pkgname}-git" +pkgver="r13.73d40af" +pkgrel=1 +pkgdesc='A fzf-based journaling and notes application with CalDav support.' +arch=('any') +url="https://github.com/baumea/fzf-vjour" +license=('MIT') +depends=('fzf' 'awk' 'vdirsyncer' 'bash') +makedepends=('git') +optdepends=('bat: for colorful previews' 'noto-fonts-emoji: for display emoji in fzf') +source=("${_pkgname}::git+https://github.com/baumea/fzf-vjour") +sha256sums=('SKIP') + +pkgver() { + cd "${_pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "${_pkgname}" + bash -O xpg_echo ./scripts/build.sh +} + +package() { + cd "${_pkgname}" + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" + install -Dm755 fzf-vjour "$pkgdir/usr/bin/fzf-vjour" +} |
