blob: 4f26230d88c371cafb3fb1273110a92b28f04c39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Anakojm <https://anakojm.net/about.html>
pkgname="basta-git"
pkgver="r33.191cdea"
pkgrel=1
pkgdesc="Bash Status Line"
arch=('any')
url="https://www.kylheku.com/cgit/${pkgname%-git}"
license=('custom:modified two-clause BSD license')
depends=('bash')
makedepends=('git')
source=("$pkgname::git+https://www.kylheku.com/git/${pkgname%-git}")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package() {
install -Dm755 $pkgname/basta.sh "$pkgdir/usr/bin/basta"
}
|