blob: 65f8d81198eef58bc5667f7be049127c337c8ef5 (
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
|
# Maintainer: Rustem B. <rustemb@systemli.org>
pkgname=bitfetch-git
pkgver=3.1.r5.gf56b62b
pkgrel=1
pkgdesc="Simple fetch written in C."
arch=(any)
url="https://gitlab.com/bit9tream/bitfetch"
license=('GPL2')
groups=()
depends=(libx11 libxinerama)
makedepends=(git pkgconf)
checkdepends=()
optdepends=()
provides=(bitfetch)
source=("${pkgname}::git+https://gitlab.com/bit9tream/bitfetch.git")
md5sums=('SKIP')
pkgver() {
cd "${pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
# Artix will be used when no /etc/os-release file on your system
build() {
cd "${pkgname}"
make bitfetch
}
package() {
cd "${pkgname}"
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/bitfetch/README.md"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/bitfetch/LICENSE"
make DESTDIR="$pkgdir/" install
}
|