summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 586effdc49e91633efe0253acd7bb5efb3fc5eab (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
# Maintainer: Daniel Milenov <nullgaro@gmail.com>
# Contributor: Mario Sánchez <icutum@hotmail.com>
pkgname='ghfetch-git'
pkgver='1.2.5'
pkgrel=5
pkgdesc="A nice way to display CLI Github user / repo / organization info inspired in neofetch"
arch=('any')
url="https://github.com/ghfetch/ghfetch"
license=('MIT')
depends=('python' 'python-setuptools' 'python-aiohttp' 'python-requests' 'python-pillow' 'python-rich')
makedepends=('git')
source=('git+https://github.com/ghfetch/ghfetch.git')
md5sums=('SKIP')

build() {
    cd "$pkgname"
    python setup.py build
}

package() {
    cd "$pkgname"
    install -Dm755 ./ghfetch/main.py "${pkgdir}/usr/bin/${pkgname}"
    install -Dm644 ./README.md "${pkgdir}/usr/share/doc/${pkgname}"
    install -Dm644 ./LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
}