summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c19f725151d10878bf9e734c04ce36d06aa8f784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Sergey A. <murlakatamenka@disroot.org>

pkgname=dotacat
pkgver=0.2.0
pkgrel=4
pkgdesc="Like lolcat, but faster. Written in Rust"
arch=('any')
url="https://gitlab.scd31.com/stephen/dotacat"
license=('MIT')
makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
sha256sums=('26ceaf641b34f1676e06223640783807e3f6c3dd617ec09f3a0b4c770bca8ff1')

build() {
    cd "$srcdir/dotacat-v$pkgver"
    cargo build --release --locked
}

package() {
    cd "$srcdir/dotacat-v$pkgver"

    install -Dm 755 "target/release/dotacat"  "$pkgdir/usr/bin/dotacat"
    install -Dm 644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}