blob: 2c7b9687936a4d7056816eeae430b5ed32e78cd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname=buddhasay
pkgver=0.7.1
pkgrel=4
pkgdesc="Like Cowsay, but with a Buddha."
url="https://codeberg.org/0x6f/buddhasay"
makedepends=('cargo')
arch=('x86_64')
license=('GPL-3.0-only')
source=("${pkgname}-${pkgver}::git+https://codeberg.org/0x6f/buddhasay.git#tag=v${pkgver}")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname-$pkgver"
cargo build --release
}
package() {
cd $srcdir/buddhasay-$pkgver
install -Dm755 target/release/buddhasay "$pkgdir/usr/bin/buddhasay"
install -d "$pkgdir/usr/share/buddhasay"
install -Dm755 resources/buddhasay.toml "$pkgdir/usr/share/buddhasay/buddhasay.toml"
}
|