Skip to content

Commit 1fda23b

Browse files
committed
Added go.mod and other dependency files
1 parent 39beba8 commit 1fda23b

File tree

8 files changed

+1077
-0
lines changed

8 files changed

+1077
-0
lines changed

PKGBUILD

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
pkgname=micr0fetch
2+
pkgver=0.3
3+
pkgrel=1
4+
epoch=
5+
pkgdesc="Tool that pulls and displays system information"
6+
arch=('x86_64')
7+
url="https://github.com/MiraslauKavaliou/micr0fetch"
8+
license=('MIT')
9+
groups=()
10+
depends=('glibc')
11+
makedepends=('go')
12+
checkdepends=()
13+
optdepends=()
14+
provides=()
15+
conflicts=()
16+
replaces=()
17+
backup=()
18+
options=()
19+
install=
20+
changelog=
21+
source=("$pkgname-$pkgver.tar.gz::https://github.com/MiraslauKavaliou/micr0fetch/archive/refs/tags/v$pkgver.tar.gz")
22+
noextract=()
23+
validpgpkeys=()
24+
25+
build() {
26+
cd "$srcdir/$pkgname-$pkgver"
27+
go build .
28+
}
29+
30+
package() {
31+
cd "$srcdir/$pkgname-$pkgver"
32+
install -Dm755 micr0fetch "$pkgdir/usr/bin/micr0fetch"
33+
}
34+
35+
sha256sums=('SKIP')

go.mod

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/MiraslauKavaliou/micr0fetch
2+
3+
go 1.20

micr0fetch-0.3.tar.gz

14.8 KB
Binary file not shown.

src/micr0fetch-0.3.tar.gz

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/home/micr0byte/micr0fetch/micr0fetch-0.3.tar.gz
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This workflow will build a golang project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+
name: Go
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
12+
jobs:
13+
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Set up Go
20+
uses: actions/setup-go@v3
21+
with:
22+
go-version: 1.19
23+
24+
- name: Build
25+
run: go build -v ./...
26+
27+
- name: Test
28+
run: go test -v ./...

src/micr0fetch-0.3/LICENSE

+674
Large diffs are not rendered by default.

src/micr0fetch-0.3/README.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
![micr0fetch banner](https://user-images.githubusercontent.com/26364458/167537458-cd81fe1b-c999-4522-938b-0d624f1ba081.png)
2+
3+
# micr0fetch.
4+
A simple system information fetching tool written in go. To request support for a distro open an issue with the 'distro request' label.
5+
6+
# installation.
7+
Go to the [releases](https://github.com/MiraslauKavaliou/micr0fetch/releases) tab and find the one that suits your system. Running the file after giving it exec permission with `chmod +x`
8+
9+
I am working on adding it to the Arch User Repository for ease of use.
10+
11+
#### Note: Windows is not supported
12+
13+
# screenshots.
14+
![Screenshot from 2023-05-19 15-21-57](https://github.com/MiraslauKavaliou/micr0fetch/assets/26364458/c2235fdb-75f9-404e-a55d-cfb712add354)
15+
<img width="566" alt="Screenshot_2023-05-19_at_3 25 07_PM" src="https://github.com/MiraslauKavaliou/micr0fetch/assets/26364458/f40c595f-e2ba-40e3-aee6-3f356ded3064">
16+
<img width="732" alt="Screen Shot 2022-05-11 at 5 28 40 PM" src="https://user-images.githubusercontent.com/26364458/167950933-0b868114-28b0-4782-82e1-86561b7af9e1.png">

0 commit comments

Comments
 (0)