cringe/pkgbuilds/honus-cli/PKGBUILD

23 lines
550 B
Bash

pkgname=honusbot-cli
pkgver=1
pkgrel=3
pkgdesc="curse per la tua arch"
arch=('any')
url="https://git.ignuranza.net/HonusBot/honusbot-cli.git"
makedepends=('git')
depends=('curl' 'jq' 'bash' 'feh' 'findutils')
optdepends=('viu: curse on the terminal' 'imagemagick: puzza')
build() {
git clone "${url}"
}
package() {
cd "${pkgname}"
mkdir -p "$pkgdir/usr/share/$pkgname"
mkdir -p "$pkgdir/usr/bin"
install "$pkgname.sh" "$pkgdir/usr/share/$pkgname/$pkgname.sh"
ln -s "$pkgdir/usr/share/$pkgname/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
}