summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2a4424f8ebb1f9264578351d92c1671985d15e79 (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
# Maintainer: Molten <craxell.tv@gmail.com>

pkgname=pyfetch-git
pkgver=r97.83bd9e8
pkgrel=3
pkgdesc="Stylish and simple fetch for your terminal."
arch=('x86_64')
url="https://kreatea.ml/kreato/pyfetch"
license=('GPL')
depends=('python-distro' 'python-psutil' 'python-colorama' 'otf-font-awesome' 'wmctrl')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://kreatea.ml/kreato/pyfetch.git')
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/${pkgname%-git}"
	make PREFIX="$pkgdir/usr" install
}