summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d83d8221fdde51316b056d212fb0b32d23a2fcd (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
# Maintainer: wick3dr0se <wick3dr0se@protonmail.com>

pkgname=sysfetch-git
pkg=sysfetch
pkgver=0.1
pkgrel=1
pkgdesc="A super tiny system information fetch script written in BASH"
arch=(any)
url="https://github.com/wick3dr0se/sysfetch"
license=(GPL3)
depends=('bash' 'awk')
optdepends=(
    'pciutils: detect gpu'
    'wmctrl: better theme detection'
)
makedepends=('git' 'debugedit' 'fakeroot')
source=("git+${url}")
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/$pkg"|| return 1
    git describe --long --tags | cut -d'-' -f1
}

package() {
    cd "$srcdir/$pkg"|| return 1
    install -Dm 755 $pkg $pkgdir/usr/bin/$pkg
}