summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Christensen2021-10-02 11:39:35 +0200
committerLars Christensen2021-10-02 11:40:15 +0200
commitde3fe1c7ba3595dde680e3bcfdac85113f5fd1e1 (patch)
tree8b48518c672b1d761d037c0677d32e6a420bb8e5
parent1e6d02f00c554781a41d81fd5f07e8c6ad16fbc5 (diff)
downloadaur-de3fe1c7ba3595dde680e3bcfdac85113f5fd1e1.tar.gz
v0.2.0
-rw-r--r--.SRCINFO7
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD10
3 files changed, 13 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0a6bd74d3724..ed02a08a513b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
pkgbase = grc-rs
pkgdesc = Generic Colouriser (grc) ported to Rust
- pkgver = 0.1.2
+ pkgver = 0.2.0
pkgrel = 1
url = https://github.com/larsch/grc-rs
arch = x86_64
license = MIT
makedepends = rust
makedepends = cargo
+ makedepends = make
depends = grc
- source = https://github.com/larsch/grc-rs/archive/refs/tags/v0.1.2.tar.gz
- sha256sums = 583c372966dfbabc41dd23569b0e301e2ae8ac5016b56667176cfceaad2dceb6
+ source = https://github.com/larsch/grc-rs/archive/refs/tags/v0.2.0.tar.gz
+ sha256sums = 62b0b52d8910e5d7b41349390523c1ad59ef7f980002971907e0e3849b68c12f
pkgname = grc-rs
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..7c7fd671aa81
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar.zst
+*.tar.gz
+src/
+pkg/
diff --git a/PKGBUILD b/PKGBUILD
index 37faeaa31e44..d994987788b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Lars Christensen <larsch@belunktum.dk>
pkgname=grc-rs
-pkgver=0.1.2
+pkgver=0.2.0
pkgrel=1
epoch=
pkgdesc="Generic Colouriser (grc) ported to Rust"
@@ -9,7 +9,7 @@ url="https://github.com/larsch/grc-rs"
license=('MIT')
groups=()
depends=('grc')
-makedepends=('rust' 'cargo')
+makedepends=('rust' 'cargo' 'make')
checkdepends=()
optdepends=()
provides=()
@@ -21,16 +21,16 @@ install=
changelog=
source=("https://github.com/larsch/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
noextract=()
-sha256sums=('583c372966dfbabc41dd23569b0e301e2ae8ac5016b56667176cfceaad2dceb6')
+sha256sums=('62b0b52d8910e5d7b41349390523c1ad59ef7f980002971907e0e3849b68c12f')
validpgpkeys=()
build() {
cd "$pkgname-$pkgver"
cargo build --release
+ make grc-rs.1.gz
}
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
+ make install DESTDIR=$pkgdir
}