blob: 7328c94ff98d55dc10aaddda981e7fbc886aa7a4 (
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
|
# Maintainer: netthier <lp@netthier.net>
pkgname=owofetch-git
pkgdesc="Alternative to *fetch, uwuifies all stats."
pkgver=0.2.r1.g490161d
pkgrel=1
arch=('x86_64')
url="https://github.com/netthier/owofetch-rs"
license=('GPL3')
makedepends=('git' 'rust' 'cargo')
provides=('owofetch')
source=('git+https://github.com/netthier/owofetch-rs')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/owofetch-rs"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/owofetch-rs"
RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features --target-dir=target
}
package() {
cd "$srcdir/owofetch-rs"
install -Dm 755 target/release/owofetch -t "${pkgdir}/usr/bin"
}
|