summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 37faeaa31e446f1e52a48c5c8748900c445c5246 (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
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Lars Christensen <larsch@belunktum.dk>
pkgname=grc-rs
pkgver=0.1.2
pkgrel=1
epoch=
pkgdesc="Generic Colouriser (grc) ported to Rust"
arch=('x86_64')
url="https://github.com/larsch/grc-rs"
license=('MIT')
groups=()
depends=('grc')
makedepends=('rust' 'cargo')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/larsch/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
noextract=()
sha256sums=('583c372966dfbabc41dd23569b0e301e2ae8ac5016b56667176cfceaad2dceb6')
validpgpkeys=()

build() {
	cd "$pkgname-$pkgver"
	cargo build --release
}

package() {
	cd "$pkgname-$pkgver"
	install -D -m 0755 target/release/grc-rs $pkgdir/usr/bin/grc-rs
	install -D -m 0644 README.md $pkgdir/usr/share/doc/grc-rs/README.md
}