summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrtcdr2021-12-15 00:02:24 +0100
committergrtcdr2021-12-15 00:02:24 +0100
commit7e564c13f3660ad71f000a524bc778dab3278288 (patch)
treed2d790a10bcef56bf1c3cd5c542a695571e8ac83
parentf8251f316d605c177cb3750dac5fd05cfd1cea4a (diff)
downloadaur-7e564c13f3660ad71f000a524bc778dab3278288.tar.gz
bump to v6.0.1 (adds manpages and themes in /usr/share)
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 20859fadf5eb..c4100ef065a0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = macchina
pkgdesc = A system information fetcher, with an (unhealthy) emphasis on performance.
- pkgver = 5.0.5
+ pkgver = 6.0.1
pkgrel = 1
url = https://github.com/Macchina-CLI/macchina
arch = x86_64
@@ -12,7 +12,7 @@ pkgbase = macchina
depends = gcc-libs
depends = glibc
optdepends = wmctrl: window manager support
- source = https://github.com/Macchina-CLI/macchina/archive/refs/tags/v5.0.5.tar.gz
- sha256sums = f8cd45546f3ce1e59e88b5861c1ba538039b39e7802749fff659a6367f097402
+ source = https://github.com/Macchina-CLI/macchina/archive/refs/tags/v6.0.1.tar.gz
+ sha256sums = 9752386497b83ff9aed90ab7d762495a78fcef276d8ddca28d9781ce391d4cf2
pkgname = macchina
diff --git a/PKGBUILD b/PKGBUILD
index 820431e71667..e3a9a627fac9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: grtcdr <ba.tahaaziz@gmail.com>
pkgname=macchina
-pkgver=5.0.5
+pkgver=6.0.1
pkgrel=1
pkgdesc="A system information fetcher, with an (unhealthy) emphasis on performance."
@@ -14,7 +14,7 @@ optdepends=('wmctrl: window manager support')
makedepends=('rust' 'cargo' 'libgit2' 'git')
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
-sha256sums=('f8cd45546f3ce1e59e88b5861c1ba538039b39e7802749fff659a6367f097402')
+sha256sums=('9752386497b83ff9aed90ab7d762495a78fcef276d8ddca28d9781ce391d4cf2')
build() {
cd "$pkgname-$pkgver"
@@ -24,5 +24,11 @@ build() {
package() {
cd "$pkgname-$pkgver"
install -Dm 755 "target/release/${pkgname}" -t "${pkgdir}/usr/bin"
- install -Dm 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ install -Dm 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm 644 "doc/man/${pkgname}.1" -t "${pkgdir}/usr/share/man/man1"
+ install -Dm 644 "doc/man/${pkgname}.7" -t "${pkgdir}/usr/share/man/man7"
+
+ install -d "${pkgdir}/usr/share/${pkgname}/themes"
+ install -m 644 contrib/themes/* "${pkgdir}/usr/share/${pkgname}/themes"
}