makedeb


rsfetch-git 16c2e1db2021.01.21-2


Fast 5ms execution time and somewhat minimal fetch program written in Rust

Click here to go back to the commit logs for rsfetch-git.

Commit:


Hash: 0d4e164fea81f5c3f817bf483da7e2f4208c2cc0

Message: minor fix

Diff


diff --git a/.SRCINFO b/.SRCINFO
index c50d877..8cf6bd6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,19 @@
-generated-by = makedeb-makepkg
-
-pkgbase = rsfetch-git
-	pkgdesc = Fast 5ms execution time and somewhat minimal fetch program written in Rust
-	pkgver = 2.0.0.89.g6c2e1db4892021.01.21
-	pkgrel = 1
-	url = https://github.com/rsfetch/rsfetch
-	arch = x86_64
-	license = MIT
-	makedepends = rustc
-	makedepends = cargo
-	makedepends = libssl-dev
-	provides = rsfetch
-	conflicts = rsfetch
-	source = rsfetch-git::git+https://github.com/rsfetch/rsfetch#branch=master
-	sha512sums = SKIP
-
+generated-by = makedeb
 pkgname = rsfetch-git
+pkgbase = rsfetch-git
+pkgdesc = Fast 5ms execution time and somewhat minimal fetch program written in Rust
+pkgrel = 2
+pkgver = 16c2e1db2021.01.21
+url = https://github.com/rsfetch/rsfetch
+arch = amd64
+conflicts = rsfetch
+license = MIT
+makedepends = rustc
+makedepends = cargo
+makedepends = libssl-dev
+provides = rsfetch
+source = rsfetch-git::git+https://github.com/rsfetch/rsfetch#branch=master
+sha512sums = SKIP
+makedepends = rustc
+makedepends = cargo
+makedepends = libssl-dev
diff --git a/PKGBUILD b/PKGBUILD
index 9dacc0f..f31c471 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 pkgname=rsfetch-git
-pkgver=2.0.0.89.g6c2e1db4892021.01.21
-pkgrel=1
+pkgver=16c2e1db2021.01.21
+pkgrel=2
 pkgdesc="Fast 5ms execution time and somewhat minimal fetch program written in Rust"
 url="https://github.com/rsfetch/rsfetch"
 license=('MIT')
@@ -9,16 +9,16 @@ depends=()
 provides=('rsfetch')
 conflicts=('rsfetch')
 makedepends=('rustc' 'cargo' 'libssl-dev')
-arch=("x86_64")
-source=("rsfetch-git::git+https://github.com/rsfetch/rsfetch#branch=master")
+arch=("amd64")
+source=("${pkgname}::git+https://github.com/rsfetch/rsfetch#branch=master")
 sha512sums=('SKIP')
 
 pkgver() {
     cd "${srcdir}/${pkgname}"
-    _tag=$(git describe --tags | sed -e 's:-:.:g' -e 's:v::') # tag is mobile, and switches between numbers and letters, can't use it for versioning
+    _always=$(git describe --always | sed -e 's:-:.:g' -e 's:v::') # always is mobile, and switches between numbers and letters, can't use it for versioning
     _commits=$(git rev-list --count HEAD | sed 's:-:.:g') # total commits is the most sane way of getting incremental pkgver
     _date=$(git log -1 --date=short --pretty=format:%cd)
-    printf "%s%s%s\n" "${_tag}" "${_commits}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
+    printf "%s%s%s\n" "${_commits}" "${_always}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
 }
 
 package() {