summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a83f4f18057d1b334700a851f3149830b755671 (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
# Maintainer: ECHO <exhq@waifu.club>
# Contributor: nea <nea@nea.moe>

pkgbase=neowofetch-git
pkgname=$pkgbase
license=('GPL3')
pkgdesc="a combination of neofetch and uwufetch written in go"
pkgver=r37.55c749c
pkgrel=1
url="https://exhq.gay/neOwOfetch"
depends=('wmctrl')
makedepends=(go git)
arch=('x86_64')
source=("git+https://github.com/exhq/neOwOfetch.git")
sha256sums=('SKIP')

pkgver() {
  cd $srcdir/neOwOfetch
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd $srcdir/neOwOfetch
	go build .
}

package() {
	install -Dm755 $srcdir/neOwOfetch/neowofetch $pkgdir/usr/bin/neowofetch
}