diff options
author | nett_hier | 2021-05-05 15:25:41 +0200 |
---|---|---|
committer | nett_hier | 2021-05-05 15:25:41 +0200 |
commit | d0c6cf01fa93771bc35f437f4cddab16619b2c1a (patch) | |
tree | e13deac41114f131505903efb04059a1a69ad929 | |
download | aur-d0c6cf01fa93771bc35f437f4cddab16619b2c1a.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7362408298dd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = owofetch-git + pkgdesc = Alternative to *fetch, uwuifies all stats. + pkgver = 0.1.r4.g8780b1c + pkgrel = 1 + url = https://github.com/netthier/owofetch-rs + arch = x86_64 + license = GPL3 + makedepends = rust + makedepends = cargo + provides = owofetch + source = git+https://github.com/netthier/owofetch-rs + sha256sums = SKIP + +pkgname = owofetch-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ab3a108bbb56 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: netthier <lp@netthier.net> +pkgname=owofetch-git +pkgdesc="Alternative to *fetch, uwuifies all stats." +pkgver=0.1.r4.g8780b1c +pkgrel=1 +arch=('x86_64') +url="https://github.com/netthier/owofetch-rs" +license=('GPL3') +makedepends=('rust' 'cargo') +provides=('owofetch') +source=('git+https://github.com/netthier/owofetch-rs') +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/owofetch-rs" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +package() { + cargo install --no-track --root="$pkgdir" --path "$srcdir/owofetch-rs" owofetch +} |