summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14ee999ae8b45d3a16bb00763e87312419c4642a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Sam A. Horvath-Hunt <hello@samhh.com>

_pkgname=tiny
pkgname=$_pkgname-bin
pkgver=0.12.0
pkgrel=1
pkgdesc='A terminal IRC client written in Rust'
arch=('x86_64')
license=('MIT')
provides=($_pkgname)
replaces=('tiny-irc-client-bin')
url="https://github.com/osa1/$_pkgname"
source=(
  "${url}/releases/download/v${pkgver}/tiny-ubuntu-22.04-libssl-dbus.tar.gz"
  "${url}/archive/v${pkgver}.tar.gz"
)
sha256sums=('c9215f6f0ef28c6190041f8dbeb1026f5dd7e4cd90f273626ebcd78ab877ffe8'
            '95406a234fe4c7013edab622970e89a5b56d4441fb5c1ec871a992fc6ee8db7a')

package() {
  install -Dm755 "$srcdir/tiny" "$pkgdir/usr/bin/$_pkgname"
  install -Dm644 "$srcdir/${_pkgname}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}