blob: 75b4d34e8a03c78546a2dc89c202ca9c7aefba25 (
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
|
# Maintainers: let <let@notlet.dev>, EnumDev <enumdev@enumerated.dev>
pkgname=stormfetch
pkgver=5.4.r0.g76974ee
pkgrel=1
pkgdesc='A simple linux fetch program written in go and bash'
arch=('any')
url='https://gitlab.com/EnumDev/stormfetch'
license=('MIT')
makedepends=('libx11' 'go' 'make')
depends=('bash' 'libxcursor' 'libxrandr' 'libxinerama' 'libxi' 'libglvnd')
source=('git+https://gitlab.com/EnumDev/stormfetch')
sha256sums=('SKIP')
build() {
cd "$srcdir/stormfetch"
make SYSCONFDIR=/etc
}
package() {
cd "$srcdir/stormfetch"
make DESTDIR="$pkgdir" PREFIX=/usr SYSCONFDIR=/etc install
install -Dm644 "$srcdir/stormfetch/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
pkgver() {
cd "$srcdir/stormfetch"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
|