summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34ab5dedbfe0fe580075fab0feca68d209f4de2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
pkgname=micr0fetch
pkgver=1.0
pkgrel=1
epoch=
pkgdesc="Tool that pulls and displays system information"
arch=('x86_64')
url="https://github.com/MiraslauKavaliou/micr0fetch"
license=('MIT')
groups=()
depends=('glibc')
makedepends=('go')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname-$pkgver.tar.gz::https://github.com/MiraslauKavaliou/micr0fetch/archive/refs/tags/v$pkgver.tar.gz")
noextract=()
validpgpkeys=()

build() {
  cd "$srcdir/$pkgname-$pkgver"
  go mod download
  go build -o micr0fetch .
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -Dm755 micr0fetch "$pkgdir/usr/bin/micr0fetch"
}

sha256sums=('9495aa72622f86cabf2190e877446d17aeeb7dc1a4b1bd12fc622ba9572cd24a')