summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1c0c54376fadf8f82083e4480bc595de1a86ff0 (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
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>

_pkgname=aurafetch
pkgname=${_pkgname}-git
pkgver=r40.7ad1275
pkgrel=1
pkgdesc="A super-minimal info script written in bash"
arch=("any")
url="https://gitlab.com/LionessAlana/aurafetch"
license=("GPL3")

depends=("xorg-xprop" "grep" "awk")
makedepends=("git")
conflicts=("${_pkgname}")

source=("${_pkgname}::git+https://gitlab.com/LionessAlana/${_pkgname}.git")
sha512sums=('SKIP')


pkgver() {
    cd "${_pkgname}"

    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "${_pkgname}"

    install -m755 -D "aura" "$pkgdir/usr/bin/aura"
    install -m644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}