summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 99400caf7de2974a1bf1cd9e48fd83edf563a872 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Marcel Robitaille <mail@marcelrobitaille.me>
# Maintainer: Aaron Gross <aaron.gross.code@gmail.com>
#
# This PKGBUILD was generated by `cargo aur`: https://crates.io/crates/cargo-aur

pkgname=rust-motd-bin
pkgver=1.0.1
pkgrel=1
pkgdesc="Beautiful, useful MOTD generation with zero runtime dependencies"
url="https://github.com/rust-motd/rust-motd"
license=("MIT")
arch=("x86_64")
provides=("rust-motd")
conflicts=("rust-motd")

source=("https://github.com/rust-motd/rust-motd/releases/download/v$pkgver/rust-motd-$pkgver-archlinux-x86_64.tar.gz")
sha256sums=("b7a215daf7a6ef95494ab3b49371b3c39215bf1bc070724c8b1d4e92d7fcfdf1")

package() {
    install -Dm755 rust-motd -t "$pkgdir/usr/bin"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}