blob: e4dcba7b69fca68962a30df96bbf7c392c167a4f (
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: Finn <finn-ja@gmx.de>
pkgname=commiefetch-git
pkgver=1.0 # <- Platzhalter, echte Version kommt aus pkgver()
pkgrel=1
pkgdesc="Revolutionäres CLI-Tool zum Anzeigen von Systeminfos mit Hammer-und-Sichel-Logo und automatischer Bashrc-Integration"
arch=('x86_64')
url="https://gitlab.com/arch1380517/commiefetch"
license=('GPL3')
depends=()
makedepends=('git' 'gcc')
source=("git+https://gitlab.com/arch1380517/commiefetch.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/commiefetch"
echo "1.0.r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/commiefetch"
gcc commiefetch.c -o commiefetch
}
package() {
cd "$srcdir/commiefetch"
install -Dm755 commiefetch "$pkgdir/usr/bin/commiefetch"
if [ -f LICENSE ]; then
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
fi
}
|