diff options
author | Luke | 2022-05-23 23:18:32 -0500 |
---|---|---|
committer | Luke | 2022-05-23 23:18:32 -0500 |
commit | febd9466c95b354bfa0656c85d22f01030e4f315 (patch) | |
tree | c5baf833dbad75d11604542fee25eea2c9c1dab7 | |
parent | 2d161a9e369cb76394e2d3d87d02b2f6d98329bf (diff) | |
download | aur-febd9466c95b354bfa0656c85d22f01030e4f315.tar.gz |
git pkg
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 15 insertions, 13 deletions
@@ -1,14 +1,14 @@ pkgbase = nfetch-git pkgdesc = A minimal linux fetch utility written in nim - pkgver = 1.00 - pkgrel = 1 + pkgver = 2.51 + pkgrel = 0 url = https://github.com/Infinitybeond1/nfetch-src arch = x86_64 license = GPL3 makedepends = nim makedepends = nimble conflicts = nfetch-bin - source = nfetch-src-1.00::https://github.com/Infinitybeond1/nfetch-src/archive/refs/tags/nfetch.tar.gz - sha256sums = 6bf668a334f0053a907e0c7c594bc68fa5e0ab06d40147367e235e05fc32010d + source = git+https://github.com/Infinitybeond1/nfetch-src + sha256sums = SKIP pkgname = nfetch-git @@ -1,19 +1,21 @@ pkgname='nfetch-git' pkgdesc="A minimal linux fetch utility written in nim" -pkgver=1.00 -pkgrel=1 +pkgver=2.51 +pkgrel=0 arch=('x86_64') url="https://github.com/Infinitybeond1/nfetch-src" license=('GPL3') -source=("nfetch-src-$pkgver::https://github.com/Infinitybeond1/nfetch-src/archive/refs/tags/nfetch.tar.gz") +source=("git+https://github.com/Infinitybeond1/nfetch-src") makedepends=('nim' 'nimble') conflicts=('nfetch-bin') -sha256sums=('6bf668a334f0053a907e0c7c594bc68fa5e0ab06d40147367e235e05fc32010d') +sha256sums=('SKIP') -package() { - wget "https://github.com/Infinitybeond1/nfetch-src/archive/refs/tags/nfetch.tar.gz" - tar xvf nfetch.tar.gz - cd nfetch-src-nfetch +build() { + cd nfetch-src nimble build - sudo install nfetch /usr/bin +} + +package() { + cd nfetch-src + sudo install nfetch "/usr/local/bin" } |