23 lines
543 B
Bash
23 lines
543 B
Bash
pkgname=honusbot-cli
|
|
pkgver=1
|
|
pkgrel=4
|
|
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 "/usr/share/$pkgname/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
|
|
}
|