summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cc6092eb96f0e3dbf34a1d4071dd56f9f9c9ae2f (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: bbaovanc <bbaovanc@bbaovanc.com

_pkgname=nekofetch
pkgname=$_pkgname-git
pkgver=r27.56ee91f
pkgrel=1
pkgdesc="neofetch but with nekos"
arch=(any)
url="https://github.com/propruhh/nekofetch"
depends=(curl jq jp2a neofetch)
makedepends=(git make)
provides=($_pkgname)

source=("git+https://github.com/propruhh/$_pkgname.git")
sha256sums=('SKIP')

_makeopts="--directory=$_pkgname"

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

package() {
    PREFIX="$pkgdir/usr" make $_makeopts install
}