summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBBaoVanC2021-01-14 14:36:23 -0600
committerBBaoVanC2021-01-14 14:36:23 -0600
commit32bbe3ce72793e71d20537b6ad622d47abb17071 (patch)
tree25eae19768b96aecbf44180eb69dc5994b54044b
downloadaur-32bbe3ce72793e71d20537b6ad622d47abb17071.tar.gz
Add PKGBUILD and .SRCINFO
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD26
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8ebbe544235
--- /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 00000000000..cc6092eb96f
--- /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
+}