summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4af3e28917d6dc1e7f74688b0325933c572563a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Carlo Cabanilla <carlo.cabanilla@gmail.com>

pkgname=butler
pkgver=15.21.0
pkgrel=3
pkgdesc='Command-line itch.io helper'
arch=('x86_64')
url='https://github.com/itchio/butler'
license=('MIT')
source=("$pkgname-$pkgver.zip::https://broth.itch.ovh/butler/linux-amd64/$pkgver/archive/default")
sha256sums=('b640fceade5cafc7601b0ee57ba13c85913917eb5440375f7a605126f9ca2e1c')

package() {
  install -Dm755 butler -t "$pkgdir/usr/lib/butler"
  install -Dm755 ./*.so -t "$pkgdir/usr/lib/butler"

  mkdir -p "$pkgdir/usr/bin"
  ln -s "../lib/butler/butler" "$pkgdir/usr/bin/butler"
}