summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authororhun2021-09-07 13:42:00 +0300
committerorhun2021-09-07 13:42:00 +0300
commit8b222ff26c43ae96758959e7bd6e8efde980c0ca (patch)
tree8dd70a5e7565c59499957264696de04d6221bc36 /PKGBUILD
parent3a6844a2b81b51bdfa2920bed61c271751b16d94 (diff)
downloadaur-fblog-git.tar.gz
upgpkg: fblog-git 3.0.2.r3.g3cf74d9-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9e1b325118d..e619a49e762 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,13 @@
# https://github.com/orhun/pkgbuilds
pkgname=fblog-git
-pkgver=2.3.0.r4.g91ca01a
+pkgver=3.0.2.r3.g3cf74d9
pkgrel=1
pkgdesc="Small command-line JSON log viewer (git)"
arch=('x86_64')
url="https://github.com/brocode/fblog"
license=('custom:WTFPL')
+depends=('gcc-libs')
makedepends=('rust' 'git')
conflicts=("${pkgname%-git}")
provides=("${pkgname%-git}")
@@ -19,14 +20,19 @@ pkgver() {
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare() {
+ cd "${pkgname%-git}"
+ cargo fetch --locked
+}
+
build() {
cd "${pkgname%-git}"
- cargo build --release --locked
+ cargo build --release --frozen
}
check() {
cd "${pkgname%-git}"
- cargo test --release --locked
+ cargo test --frozen
}
package() {