file-scripts/PKGBUILD

24 lines
641 B
Bash
Raw Normal View History

2024-02-26 23:05:15 -08:00
# Maintainer: Eric Torres <eric.torres@its-et.me>
2021-12-20 09:16:56 -08:00
pkgname=file-scripts
pkgver=2.0.0
pkgrel=2
2021-12-20 09:16:56 -08:00
pkgdesc="Various scripts for performing file-related operations such as editing and deleting."
arch=(any)
license=(GPL3)
depends=(bash fd fzf)
makedepends=(git)
source=("${pkgname}-${pkgver}.tar.gz")
2022-04-15 21:50:55 -07:00
install=$pkgname.install
2022-03-23 17:28:09 -07:00
sha256sums=('SKIP')
2021-12-20 09:16:56 -08:00
package() {
for script in bin/*; do
install -Dm755 "$script" "$pkgdir/usr/bin/$(basename "$script")"
done
# Install zsh completions
for completion in zsh/*; do
install -Dm644 "${completion}" "${pkgdir}/usr/share/zsh/site-functions/$(basename "$completion")"
done
2021-12-20 09:16:56 -08:00
}