summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b0a73bc1169af4b3167a86a1675bf64b976326f0 (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.3.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' 'make')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/larsch/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
noextract=()
sha256sums=('f6d4f8bc8f75e0654f7562d75ca0e7f671666b31bc4d07921c7edf0d6fc93866')
validpgpkeys=()

build() {
	cd "$pkgname-$pkgver"
	cargo build --release
	make grc-rs.1.gz
}

package() {
	cd "$pkgname-$pkgver"
	make install DESTDIR=$pkgdir
}