diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8ebbe5442358 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = nekofetch-git + pkgdesc = neofetch but with nekos + pkgver = r27.56ee91f + pkgrel = 1 + url = https://github.com/propruhh/nekofetch + arch = any + makedepends = git + makedepends = make + depends = curl + depends = jq + depends = jp2a + depends = neofetch + provides = nekofetch + source = git+https://github.com/propruhh/nekofetch.git + sha256sums = SKIP + +pkgname = nekofetch-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cc6092eb96f0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |