summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e7c5bf796dc919e88bb6d5c7886a73f0b03b8e2c (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
27
28
29
# Maintainer: bbaovanc <bbaovanc@bbaovanc.com

_pkgname=nekofetch
_branch=master
pkgname=$_pkgname-git
pkgver=r30.0e8a74b
pkgrel=1
pkgdesc="neofetch but with nekos"
license=('GPL3')
arch=(any)
url="https://github.com/propruhh/nekofetch"
depends=(curl jq jp2a neofetch)
makedepends=(git make)
provides=($_pkgname)
conflicts=($_pkgname)

source=("git+https://github.com/propruhh/$_pkgname.git#branch=${_branch}")
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
}