summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a12bb230e4d722b8564fef3892a86b8204b5a5b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#Maintainer: Maxb0tbeep <max@polygonal.place)
pkgname=bestfetch
pkgver=1.2.3
pkgrel=1
pkgdesc="a customizable, beautiful, and blazing fast system fetch, powered by nim"
arch=(x86_64)
url="https://gitlab.com/Maxb0tbeep/bestfetch"
license=('GPLv3')
makedepends=(nim git)
provides=(bestfetch)
conflicts=(bestfetch-git)
source=("$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=(SKIP)

build() {
	cd "$srcdir/$pkgname-$pkgver"
	nimble build -d:release
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	install -Dm755 "build/$pkgname" "$pkgdir/usr/bin/${pkgname}"
}