cringe/pkgbuilds/honus-cli/PKGBUILD

23 lines
543 B
Bash
Raw Normal View History

2021-05-15 23:41:36 +02:00
pkgname=honusbot-cli
pkgver=1
2021-05-21 11:12:47 +02:00
pkgrel=4
2021-05-15 23:41:36 +02:00
pkgdesc="curse per la tua arch"
arch=('any')
url="https://git.ignuranza.net/HonusBot/honusbot-cli.git"
makedepends=('git')
2021-05-16 08:30:21 +02:00
depends=('curl' 'jq' 'bash' 'feh' 'findutils')
optdepends=('viu: curse on the terminal' 'imagemagick: puzza')
2021-05-15 23:41:36 +02:00
build() {
git clone "${url}"
}
package() {
cd "${pkgname}"
mkdir -p "$pkgdir/usr/share/$pkgname"
2021-05-15 23:41:36 +02:00
mkdir -p "$pkgdir/usr/bin"
install "$pkgname.sh" "$pkgdir/usr/share/$pkgname/$pkgname.sh"
2021-05-21 11:12:47 +02:00
ln -s "/usr/share/$pkgname/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
2021-05-15 23:41:36 +02:00
}