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

_pkgname=nekofetch
_branch=master
pkgname=$_pkgname-git
pkgver=r30.0e8a74b
pkgrel=2
pkgdesc="neofetch but with nekos"
license=('GPL3')
arch=(any)
url="https://github.com/propruhh/nekofetch"
depends=(curl jq jp2a neofetch)
optdepends=('imagemagick: support for kitty image backend')
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
}