# Maintainer: Mattheus Roxas _pkgname="amogu.sh" # Thanks, pkgname="$_pkgname-git" # Dawid. pkgver=r3.fad5425 pkgrel=1 pkgdesc="A posix shell image viewer utilizing fzf, with Ɯberzug for previews. Copies your selection to the clipboard." arch=('Any') url="https://codeberg.org/thepogsupreme/amogu.sh" license=('EUPL 1.2') depends=('fzf' 'ueberzug') makedepends=('git') optdepends=('xclip: Clipboard support' 'dragon-drag-and-drop: Drag and drop support') source=('amogu.sh::git+https://codeberg.org/thepogsupreme/amogu.sh.git') md5sums=('SKIP') pkgver() { cd "$_pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { cd "$_pkgname" install -Dm755 ./amogu.sh "$pkgdir/usr/bin/amogu.sh" install -Dm644 ./README.md "$pkgdir/usr/share/doc/$pkgname" }