blob: 4e3943b09d4050d194b5d6fbed9e88f73904b91d (
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: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=hilbifetch-git
_pkg="${pkgname%-git}"
pkgver=r26.987f87d
pkgrel=2
pkgdesc="Hilbish-optimized screenfetch"
arch=('any')
url="https://github.com/rosettea/hilbifetch"
license=('BSD')
depends=('hilbish')
makedepends=('git')
provides=("$_pkg")
conflicts=("$_pkg")
backup=('etc/hfconf.lua')
install="$pkgname.install"
source=("$pkgname::git+$url?signed")
sha256sums=('SKIP')
validpgpkeys=(
'784DF7A14968C5094E16839C904FC49417B44DCD' ## sammy (TorchedSammy)
'5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23' ## GitHub
)
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
install -Dv hilbifetch.lua "$pkgdir/usr/bin/hilbifetch"
install -Dvm644 hfconf.lua -t "$pkgdir/etc/"
install -Dvm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
install -Dvm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
|