-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKGBUILD
More file actions
29 lines (24 loc) · 789 Bytes
/
PKGBUILD
File metadata and controls
29 lines (24 loc) · 789 Bytes
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
28
29
# Maintainer: Kied Llaentenn <@kiedtl>
# Maintainer: ValleyKnight <valleyknight@protonmail.com>
pkgname=rsfetch-git
pkgver=2.0.0
pkgrel=1
pkgdesc="Fast (~5ms execution time) and somewhat(?) minimal fetch program written in Rust."
url="https://github.com/rsfetch/rsfetch"
license=('MIT')
depends=()
conflicts=('rsfetch-bin')
makedepends=("rust")
arch=("x86_64")
source=("rsfetch-git::git+https://github.com/rsfetch/rsfetch#branch=master")
build() {
cd "${srcdir}/${pkgname}"
make build
}
package() {
mkdir -p ${pkgdir}/usr/bin
mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
install -Dm 755 ${srcdir}/${pkgname}/target/release/rsfetch ${pkgdir}/usr/bin/rsfetch
install -Dm 644 ${srcdir}/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
sha512sums=('SKIP')